summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/wasm/empirical_max_memory.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/empirical_max_memory.js')
-rw-r--r--deps/v8/test/mjsunit/wasm/empirical_max_memory.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/wasm/empirical_max_memory.js b/deps/v8/test/mjsunit/wasm/empirical_max_memory.js
index e2ff7ca517..59e15f8464 100644
--- a/deps/v8/test/mjsunit/wasm/empirical_max_memory.js
+++ b/deps/v8/test/mjsunit/wasm/empirical_max_memory.js
@@ -19,14 +19,14 @@ let kMaxMemory = 2 * k1GiB - kPageSize; // TODO(titzer): raise this to 4GiB
builder.addImportedMemory("i", "mem");
builder.addFunction("load", makeSig([kWasmI32], [type]))
.addBody([ // --
- kExprGetLocal, 0, // --
+ kExprLocalGet, 0, // --
load_opcode, 0, 0, // --
]) // --
.exportFunc();
builder.addFunction("store", makeSig([kWasmI32, type], []))
.addBody([ // --
- kExprGetLocal, 0, // --
- kExprGetLocal, 1, // --
+ kExprLocalGet, 0, // --
+ kExprLocalGet, 1, // --
store_opcode, 0, 0, // --
]) // --
.exportFunc();