2
0
Эх сурвалжийг харах

[gencommon] removed unused t_iterator field

Dan Korostelev 9 жил өмнө
parent
commit
df3e4bd69b

+ 0 - 4
src/generators/gencommon.ml

@@ -591,8 +591,6 @@ and gen_classes =
 	cl_type : tclass;
 	cl_dyn : tclass;
 
-	t_iterator : tdef;
-
 	mutable nativearray_len : texpr -> pos -> texpr;
 	mutable nativearray_type : Type.t -> Type.t;
 	mutable nativearray : Type.t -> Type.t;
@@ -647,8 +645,6 @@ let new_ctx con =
 			cl_type = get_cl (get_type con.types ([], "Type"));
 			cl_dyn = cl_dyn;
 
-			t_iterator = get_tdef (get_type con.types ([], "Iterator"));
-
 			nativearray = (fun _ -> assert false);
 			nativearray_type = (fun _ -> assert false);
 			nativearray_len = (fun _ -> assert false);