| Index: test/mjsunit/wasm/calls.js
|
| diff --git a/test/mjsunit/wasm/calls.js b/test/mjsunit/wasm/calls.js
|
| index 11cc92a8ec37befc0200edc63e38215736a87273..225eb56973576e090a3392dbe7328dcf6c4a69b1 100644
|
| --- a/test/mjsunit/wasm/calls.js
|
| +++ b/test/mjsunit/wasm/calls.js
|
| @@ -37,7 +37,6 @@ function assertFunction(module, func) {
|
| assertFalse(exp === null);
|
| assertFalse(exp === 0);
|
| assertEquals("function", typeof exp);
|
| -
|
| return exp;
|
| }
|
|
|
| @@ -48,9 +47,10 @@ function assertFunction(module, func) {
|
| builder.addMemory(1, 1, true);
|
| builder.addFunction("sub", [kAstI32, kAstI32, kAstI32])
|
| .addBody([
|
| - kExprI32Sub, // --
|
| kExprGetLocal, 0, // --
|
| - kExprGetLocal, 1]) // --
|
| + kExprGetLocal, 1, // --
|
| + kExprI32Sub, // --
|
| + ])
|
| .exportFunc()
|
|
|
| var module = builder.instantiate();
|
| @@ -89,9 +89,10 @@ function assertFunction(module, func) {
|
| builder.addMemory(kPages, kPages, true);
|
| builder.addFunction("flt", [kAstI32, kAstF64, kAstF64])
|
| .addBody([
|
| - kExprF64Lt, // --
|
| kExprGetLocal, 0, // --
|
| - kExprGetLocal, 1]) // --
|
| + kExprGetLocal, 1, // --
|
| + kExprF64Lt // --
|
| + ]) // --
|
| .exportFunc();
|
|
|
| var module = builder.instantiate();
|
|
|