| Index: test/mjsunit/wasm/start-function.js
|
| diff --git a/test/mjsunit/wasm/start-function.js b/test/mjsunit/wasm/start-function.js
|
| index c4d299e871e55e1a3cf10d82fc257584d5a40362..42537ed0634f08ea7f40dd8a191e5b13e38cecd8 100644
|
| --- a/test/mjsunit/wasm/start-function.js
|
| +++ b/test/mjsunit/wasm/start-function.js
|
| @@ -65,8 +65,8 @@ assertFails(kSig_i_dd, [kExprGetLocal, 0]);
|
| var func = builder.addFunction("", kSig_v_v)
|
| .addBody([kExprNop]);
|
|
|
| - builder.addExplicitSection([kDeclStart, 0]);
|
| - builder.addExplicitSection([kDeclStart, 0]);
|
| + builder.addExplicitSection([kStartSectionCode, 0]);
|
| + builder.addExplicitSection([kStartSectionCode, 0]);
|
|
|
| assertThrows(builder.instantiate);
|
| })();
|
| @@ -102,7 +102,7 @@ assertFails(kSig_i_dd, [kExprGetLocal, 0]);
|
|
|
| builder.addImport("foo", sig_index);
|
| var func = builder.addFunction("", sig_index)
|
| - .addBody([kExprCallImport, kArity0, 0]);
|
| + .addBody([kExprCallFunction, 0]);
|
|
|
| builder.addStart(func.index);
|
|
|
|
|