Index: test/mjsunit/wasm/divrem-trap.js |
diff --git a/test/mjsunit/wasm/divrem-trap.js b/test/mjsunit/wasm/divrem-trap.js |
index 976e4736bca371b7a01068d2857248a83dca0d7c..7819ee59456d93d853af4519afba365183120d5b 100644 |
--- a/test/mjsunit/wasm/divrem-trap.js |
+++ b/test/mjsunit/wasm/divrem-trap.js |
@@ -34,7 +34,11 @@ function makeBinop(opcode) { |
var builder = new WasmModuleBuilder(); |
builder.addFunction("main", [kAstI32, kAstI32, kAstI32]) |
- .addBody([opcode, kExprGetLocal, 0, kExprGetLocal, 1]) |
+ .addBody([ |
+ kExprGetLocal, 0, // -- |
+ kExprGetLocal, 1, // -- |
+ opcode, // -- |
+ ]) |
.exportFunc(); |
return builder.instantiate().exports.main; |