Skip to content

Commit e9623d0

Browse files
committed
WIP
1 parent 5f94a04 commit e9623d0

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

compiler/tests-full/stdlib.cma.expected.js

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7256,7 +7256,6 @@
72567256
runtime = globalThis.jsoo_runtime,
72577257
cst_Marshal_from_bytes$1 = "Marshal.from_bytes",
72587258
caml_marshal_data_size = runtime.caml_marshal_data_size,
7259-
caml_maybe_attach_backtrace = runtime.caml_maybe_attach_backtrace,
72607259
caml_ml_bytes_length = runtime.caml_ml_bytes_length;
72617260
/*<<?>>*/ function caml_call1(f, a0){
72627261
return (f.l >= 0 ? f.l : f.l = f.length) == 1
@@ -7265,11 +7264,8 @@
72657264
}
72667265
var
72677266
global_data = runtime.caml_get_global_data(),
7268-
Assert_failure = global_data.Assert_failure,
72697267
Stdlib_Bytes = global_data.Stdlib__Bytes,
72707268
Stdlib = global_data.Stdlib,
7271-
_a_ = [0, 3, 0],
7272-
_b_ = [0, "marshal.ml", 75, 9],
72737269
cst_Marshal_from_bytes = cst_Marshal_from_bytes$1,
72747270
cst_Marshal_from_bytes$0 = cst_Marshal_from_bytes$1,
72757271
cst_Marshal_data_size = "Marshal.data_size",
@@ -7314,17 +7310,6 @@
73147310
( /*<<marshal.ml:68:13>>*/ caml_call1(Stdlib_Bytes[45], buff),
73157311
ofs);
73167312
/*<<marshal.ml:68:46>>*/ }
7317-
function compression_supported(param){
7318-
/*<<marshal.ml:71:2>>*/ var
7319-
/*<<marshal.ml:71:10>>*/ s =
7320-
/*<<marshal.ml:71:10>>*/ runtime.caml_output_value_to_string(0, _a_),
7321-
/*<<marshal.ml:72:8>>*/ match =
7322-
/*<<marshal.ml:72:8>>*/ runtime.caml_string_get(s, 3);
7323-
if(189 === match) /*<<marshal.ml:73:14>>*/ return 1;
7324-
if(190 === match) /*<<marshal.ml:74:14>>*/ return 0;
7325-
/*<<marshal.ml:75:9>>*/ throw /*<<marshal.ml:75:9>>*/ caml_maybe_attach_backtrace
7326-
([0, Assert_failure, _b_], 1);
7327-
/*<<marshal.ml:75:21>>*/ }
73287313
var
73297314
Stdlib_Marshal =
73307315
[0,
@@ -7335,9 +7320,8 @@
73357320
from_string,
73367321
header_size,
73377322
data_size,
7338-
total_size,
7339-
compression_supported];
7340-
runtime.caml_register_global(9, Stdlib_Marshal, "Stdlib__Marshal");
7323+
total_size];
7324+
runtime.caml_register_global(6, Stdlib_Marshal, "Stdlib__Marshal");
73417325
return;
73427326
/*<<?>>*/ }
73437327
(globalThis));

0 commit comments

Comments
 (0)