Index: test/mjsunit/wasm/test-wasm-module-builder.js |
diff --git a/test/mjsunit/wasm/test-wasm-module-builder.js b/test/mjsunit/wasm/test-wasm-module-builder.js |
index 969b550e8f8578c9b13e937fe3cd21e86d2b0b4d..72d5a7aaa446ec7bdfc976e1a0fe4d924fa965e6 100644 |
--- a/test/mjsunit/wasm/test-wasm-module-builder.js |
+++ b/test/mjsunit/wasm/test-wasm-module-builder.js |
@@ -91,7 +91,7 @@ var debug = false; |
.addBody([kExprGetLocal, |
0, kExprGetLocal, 1, kExprGetLocal, 2, kExprCallIndirect, kArity2, 0]) |
.exportAs("main"); |
- module.appendToFunctionTable([0]); |
+ module.appendToTable([0]); |
var instance = module.instantiate(); |
assertEquals(44, instance.exports.main(0, 11, 33)); |