File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ let transl_label_init_general f =
104
104
expr, size
105
105
106
106
let transl_label_init_flambda f =
107
- assert (Config. flambda);
107
+ assert (Config. flambda || Config. flambda2 );
108
108
let method_cache_id = Ident. create_local " method_cache" in
109
109
method_cache := Lvar method_cache_id;
110
110
(* Calling f (usually Translmod.transl_struct) requires the
@@ -123,7 +123,7 @@ let transl_label_init_flambda f =
123
123
transl_label_init_general (fun () -> expr, size)
124
124
125
125
let transl_store_label_init glob size f arg =
126
- assert (not Config. flambda);
126
+ assert (not ( Config. flambda || Config. flambda2) );
127
127
assert (! Clflags. native_code);
128
128
method_cache := Lprim (mod_field ~read_semantics: Reads_vary size,
129
129
[Lprim (Pgetglobal glob, [] , Loc_unknown )],
You can’t perform that action at this time.
0 commit comments