summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/bug1392105.js
blob: 4752da8ddff3941356371a3008c9a78a49fe579d (plain)
1
2
3
4
5
6
7
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);