diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/wasm/regress/bug1392105.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/regress/bug1392105.js b/js/src/jit-test/tests/wasm/regress/bug1392105.js new file mode 100644 index 0000000000..4752da8ddf --- /dev/null +++ b/js/src/jit-test/tests/wasm/regress/bug1392105.js @@ -0,0 +1,8 @@ +// |jit-test| --arm-asm-nop-fill=1 + +var code = "(module "; +for (var i = 0; i < 100; i++) + code += "(func (param i32) (result i32) (i32.add (i32.const 1) (local.get 0))) "; +code += ")"; +var buf = wasmTextToBinary(code); +WebAssembly.compile(buf); |