| Index: test/mjsunit/wasm/asm-wasm-deopt.js
|
| diff --git a/test/mjsunit/wasm/asm-wasm-deopt.js b/test/mjsunit/wasm/asm-wasm-deopt.js
|
| index 66c66d384af605a97c150c5949b08fd49bb31d68..460894ea5e22aef7ed19fc5bd3b83fe29965b6c8 100644
|
| --- a/test/mjsunit/wasm/asm-wasm-deopt.js
|
| +++ b/test/mjsunit/wasm/asm-wasm-deopt.js
|
| @@ -2,8 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --expose-wasm
|
| -// Flags: --allow-natives-syntax
|
| +// Flags: --validate-asm --allow-natives-syntax
|
|
|
| (function TestDeoptimizeArgMismatch() {
|
| function deopt() {
|
| @@ -21,8 +20,7 @@
|
| return {'_main': _main}
|
| }
|
| function test() {
|
| - var wasm = Wasm.instantiateModuleFromAsm(
|
| - Module.toString(), null, {'deopt': deopt});
|
| + var wasm = Module(null, {'deopt': deopt});
|
| wasm._main(0, 0, 0);
|
| }
|
| test();
|
|
|