Skip to content

Commit eb9aa27

Browse files
committed
fixes after rebase
1 parent 46c5d92 commit eb9aa27

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler/bin-wasm_of_ocaml/compile.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,14 @@ let run
444444
let z = Zip.open_out tmp_output_file in
445445
Zip.add_file z ~name:"runtime.wasm" ~file:tmp_wasm_file;
446446
Zip.add_entry z ~name:"runtime.js" ~contents:js_runtime;
447-
let predefined_exceptions, (strings, fragments) = build_prelude z in
447+
let predefined_exceptions, fragments = build_prelude z in
448448
Link.add_info
449449
z
450450
~predefined_exceptions
451451
~build_info:(Build_info.create `Runtime)
452452
~unit_data:
453453
[ { Link.unit_name = "wasmoo_prelude"
454454
; unit_info = Unit_info.empty
455-
; strings
456455
; fragments
457456
}
458457
]

compiler/lib-wasm/gc_target.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ module Constant = struct
10371037
translate_js_string s
10381038
| String s ->
10391039
if Config.Flag.use_js_string ()
1040-
then translate_js_string (str_js_byte s)
1040+
then translate_js_string (byte_string s)
10411041
else
10421042
let* ty = Type.string_type in
10431043
if String.length s >= string_length_threshold

0 commit comments

Comments
 (0)