File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -550,7 +550,9 @@ end = struct
550
550
List. iter ~f: (fun e' -> output_expression st ch e') l;
551
551
output_byte ch 0x10 ;
552
552
output_uint ch (Code.Var.Hashtbl. find st.func_names f)
553
- | Seq _ -> assert false
553
+ | Seq (l , e' ) ->
554
+ List. iter ~f: (fun i' -> output_instruction st ch i') l;
555
+ output_expression st ch e'
554
556
| Pop _ -> ()
555
557
| RefFunc f ->
556
558
Feature. require reference_types;
@@ -939,7 +941,9 @@ end = struct
939
941
List. fold_left ~f: (fun set i -> instr_function_references i set) ~init: set l
940
942
| Call (_ , l ) | ArrayNewFixed (_ , l ) | StructNew (_ , l ) ->
941
943
List. fold_left ~f: (fun set i -> expr_function_references i set) ~init: set l
942
- | Seq _ -> assert false
944
+ | Seq (l , e ) ->
945
+ List. fold_left ~f: (fun set i -> instr_function_references i set) ~init: set l
946
+ |> expr_function_references e
943
947
| RefFunc f -> Code.Var.Set. add f set
944
948
| Call_ref (_ , e' , l ) ->
945
949
List. fold_left
You can’t perform that action at this time.
0 commit comments