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 is_jumping e =
104
104
105
105
let compose (vs1 , es1 ) (vs2 , es2 ) = vs1 @ vs2, es1 @ es2
106
106
107
- let contref_arity contarg =
107
+ let switcher_contref_arity contarg =
108
108
match contarg with
109
109
| RefT (_ , DefHT def ) ->
110
110
(match as_cont_str_type (expand_def_type def) with
@@ -422,7 +422,7 @@ let rec step (c : config) : config =
422
422
423
423
| Switch (x , y ), Ref (ContRef ({contents = Some (n , ctxt )} as cont )) :: vs ->
424
424
let FuncT (ts, _) = func_type_of_cont_type c.frame.inst (cont_type c.frame.inst x) in
425
- let arity = contref_arity (Lib.List. last ts) in
425
+ let arity = switcher_contref_arity (Lib.List. last ts) in
426
426
let tagt = tag c.frame.inst y in
427
427
let args, vs' = i32_split (Int32. sub n 1l ) vs e.at in
428
428
(* NOTE(dhil): Slight hack here. We update the arity of given
You can’t perform that action at this time.
0 commit comments