@@ -221,7 +221,6 @@ pub struct CrateContext {
221221 tydesc_type : TypeRef ,
222222 int_type : TypeRef ,
223223 float_type : TypeRef ,
224- task_type : TypeRef ,
225224 opaque_vec_type : TypeRef ,
226225 builder : BuilderRef_res ,
227226 shape_cx : shape:: Ctxt ,
@@ -934,28 +933,6 @@ pub fn T_empty_struct() -> TypeRef { return T_struct([], false); }
934933// they are described by this opaque type.
935934pub fn T_vtable ( ) -> TypeRef { T_array ( T_ptr ( T_i8 ( ) ) , 1 u) }
936935
937- pub fn T_task ( targ_cfg : @session:: config ) -> TypeRef {
938- let t = T_named_struct ( "task" ) ;
939-
940- // Refcount
941- // Delegate pointer
942- // Stack segment pointer
943- // Runtime SP
944- // Rust SP
945- // GC chain
946-
947-
948- // Domain pointer
949- // Crate cache pointer
950-
951- let t_int = T_int ( targ_cfg) ;
952- let elems =
953- ~[ t_int, t_int, t_int, t_int,
954- t_int, t_int, t_int, t_int] ;
955- set_struct_body ( t, elems, false ) ;
956- return t;
957- }
958-
959936pub fn T_tydesc_field ( cx : @CrateContext , field : uint ) -> TypeRef {
960937 // Bit of a kludge: pick the fn typeref out of the tydesc..
961938
@@ -1085,8 +1062,6 @@ pub fn T_chan(cx: @CrateContext, _t: TypeRef) -> TypeRef {
10851062
10861063}
10871064
1088- pub fn T_taskptr ( cx : @CrateContext ) -> TypeRef { return T_ptr ( cx. task_type ) ; }
1089-
10901065
10911066pub fn T_opaque_cbox_ptr ( cx : @CrateContext ) -> TypeRef {
10921067 // closures look like boxes (even when they are ~fn or &fn)
0 commit comments