Debian Codegraph @

js/src/jit-test/tests/wasm/regress/bug1966577.js

raw
1 // Test proper handling of OOM in masm.
2 function f() {
3 new WebAssembly.Module(wasmTextToBinary("\
4 (memory 64 64) (func (param i32 i32 i32)(local i32) loop block i32.const 0 \
5 i32.extend8_s local.get 0 i32.const 0 i32.load align=1 return_call 0 end end) \
6 "))
7 oomTest(f);
8 }
9 f();