diff options
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/code-space-exhaustion.js')
-rw-r--r-- | deps/v8/test/mjsunit/wasm/code-space-exhaustion.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/wasm/code-space-exhaustion.js b/deps/v8/test/mjsunit/wasm/code-space-exhaustion.js index 6f4698c0d0..45eaef92e8 100644 --- a/deps/v8/test/mjsunit/wasm/code-space-exhaustion.js +++ b/deps/v8/test/mjsunit/wasm/code-space-exhaustion.js @@ -9,7 +9,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js'); // We only have 1 MB code space. This is enough for the code below, but for all // 1000 modules, it requires several GCs to get rid of the old code. const builder = new WasmModuleBuilder(); -builder.addFunction('main', kSig_i_i).addBody([kExprGetLocal, 0]); +builder.addFunction('main', kSig_i_i).addBody([kExprLocalGet, 0]); const buffer = builder.toBuffer(); for (let i = 0; i < 1000; ++i) { |