Index: test/mjsunit/wasm/export-table.js |
diff --git a/test/mjsunit/wasm/export-table.js b/test/mjsunit/wasm/export-table.js |
index e85da9b6646ff63e927e5aa60a8c1b8076c26337..768e22a304852200525b8ed393d81d53663fcc79 100644 |
--- a/test/mjsunit/wasm/export-table.js |
+++ b/test/mjsunit/wasm/export-table.js |
@@ -13,9 +13,10 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
builder.addFunction("main", [kAstI32]) |
.addBody([ |
- kExprReturn, |
kExprI8Const, |
- kReturnValue]) |
+ kReturnValue, |
+ kExprReturn, kArity1 |
+ ]) |
.exportFunc(); |
var module = builder.instantiate(); |
@@ -33,9 +34,10 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
builder.addFunction("main", [kAstI32]) |
.addBody([ |
- kExprReturn, |
kExprI8Const, |
- kReturnValue]) |
+ kReturnValue, |
+ kExprReturn, kArity1 |
+ ]) |
.exportAs("blah") |
.exportAs("foo"); |