diff options
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/shared-memory.js')
-rw-r--r-- | deps/v8/test/mjsunit/wasm/shared-memory.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/test/mjsunit/wasm/shared-memory.js b/deps/v8/test/mjsunit/wasm/shared-memory.js index 80e894b28f..696b0412ae 100644 --- a/deps/v8/test/mjsunit/wasm/shared-memory.js +++ b/deps/v8/test/mjsunit/wasm/shared-memory.js @@ -73,8 +73,8 @@ function assertMemoryIsValid(memory, shared) { let builder = new WasmModuleBuilder(); builder.addFunction("main", kSig_i_ii) .addBody([ - kExprGetLocal, 0, - kExprGetLocal, 1, + kExprLocalGet, 0, + kExprLocalGet, 1, kAtomicPrefix, kExprI32AtomicAdd]); builder.addImportedMemory("m", "imported_mem"); @@ -119,8 +119,8 @@ function assertMemoryIsValid(memory, shared) { builder.addMemory(2, 10, false, "shared"); builder.addFunction("main", kSig_i_ii) .addBody([ - kExprGetLocal, 0, - kExprGetLocal, 1, + kExprLocalGet, 0, + kExprLocalGet, 1, kAtomicPrefix, kExprI32AtomicAdd, 2, 0]) .exportFunc(); |