diff options
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/import-function.js')
-rw-r--r-- | deps/v8/test/mjsunit/wasm/import-function.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/test/mjsunit/wasm/import-function.js b/deps/v8/test/mjsunit/wasm/import-function.js index ec187aff4a..6bbad8a222 100644 --- a/deps/v8/test/mjsunit/wasm/import-function.js +++ b/deps/v8/test/mjsunit/wasm/import-function.js @@ -13,8 +13,8 @@ function testCallImport(func, check) { builder.addImport("q", "func", sig_index); builder.addFunction("main", sig_index) .addBody([ - kExprGetLocal, 0, // -- - kExprGetLocal, 1, // -- + kExprLocalGet, 0, // -- + kExprLocalGet, 1, // -- kExprCallFunction, 0]) // -- .exportAs("main"); @@ -186,8 +186,8 @@ function testCallBinopVoid(type, func, check) { builder.addImport("q", "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, 39, // -- ]) @@ -244,7 +244,7 @@ function testCallPrint() { .addBody([ kExprI32Const, 27, // -- kExprCallFunction, 0, // -- - kExprGetLocal, 0, // -- + kExprLocalGet, 0, // -- kExprCallFunction, 1 // -- ]) .exportFunc(); |