diff options
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/ffi.js')
-rw-r--r-- | deps/v8/test/mjsunit/wasm/ffi.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/deps/v8/test/mjsunit/wasm/ffi.js b/deps/v8/test/mjsunit/wasm/ffi.js index 72cc57f598..884bd29450 100644 --- a/deps/v8/test/mjsunit/wasm/ffi.js +++ b/deps/v8/test/mjsunit/wasm/ffi.js @@ -13,8 +13,8 @@ function testCallFFI(func, check) { builder.addImport("", "func", sig_index); builder.addFunction("main", sig_index) .addBody([ - kExprGetLocal, 0, // -- - kExprGetLocal, 1, // -- + kExprLocalGet, 0, // -- + kExprLocalGet, 1, // -- kExprCallFunction, 0 // -- ]) // -- .exportFunc(); @@ -76,8 +76,8 @@ testCallFFI(bind_sub, check_FOREIGN_SUB); builder.addImport("", "func", sig_index); builder.addFunction("main", sig_index) .addBody([ - kExprGetLocal, 0, // -- - kExprGetLocal, 1, // -- + kExprLocalGet, 0, // -- + kExprLocalGet, 1, // -- kExprCallFunction, 0 // -- ]) // -- .exportFunc(); @@ -259,8 +259,8 @@ function testCallBinopVoid(type, func, check) { builder.addImport("", "func", makeSig_v_xx(type)); builder.addFunction("main", makeSig_r_xx(kWasmI32, type)) .addBody([ - kExprGetLocal, 0, // -- - kExprGetLocal, 1, // -- + kExprLocalGet, 0, // -- + kExprLocalGet, 1, // -- kExprCallFunction, 0, // -- kExprI32Const, 33 // -- ]) // -- @@ -316,7 +316,7 @@ testCallBinopVoid(kWasmF64); .addBody([ kExprI32Const, 37, // -- kExprCallFunction, 0, // -- - kExprGetLocal, 0, // -- + kExprLocalGet, 0, // -- kExprCallFunction, 1 // -- ]) // -- .exportFunc() |