Closed backes closed 3 years ago
The interpreter still outputs i32.const init expressions for the data segment. This makes e.g. memory64.wast fail in v8: https://github.com/WebAssembly/memory64/blob/master/test/core/memory64.wast#L11
memory64.wast
I don't know much OCaml, but one location which certainly needs fixing is check_data in valid.ml: https://github.com/WebAssembly/memory64/blob/master/interpreter/valid/valid.ml#L421
check_data
valid.ml
And in encoding, we probably need to introduce a vec64 here: https://github.com/WebAssembly/memory64/blob/master/interpreter/binary/encode.ml#L501
vec64
@aardappel FYI (cannot assign directly to you)
The interpreter still outputs i32.const init expressions for the data segment. This makes e.g.
memory64.wast
fail in v8: https://github.com/WebAssembly/memory64/blob/master/test/core/memory64.wast#L11I don't know much OCaml, but one location which certainly needs fixing is
check_data
invalid.ml
: https://github.com/WebAssembly/memory64/blob/master/interpreter/valid/valid.ml#L421And in encoding, we probably need to introduce a
vec64
here: https://github.com/WebAssembly/memory64/blob/master/interpreter/binary/encode.ml#L501