| Index: test/mjsunit/regress/regress-575364.js
|
| diff --git a/test/mjsunit/regress/regress-575364.js b/test/mjsunit/regress/regress-575364.js
|
| index c0652058fadeea15e7998cc634d34d8afb5410b7..8671aec06b8430f9572e184c44b287082116cece 100644
|
| --- a/test/mjsunit/regress/regress-575364.js
|
| +++ b/test/mjsunit/regress/regress-575364.js
|
| @@ -2,11 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --expose-wasm
|
| +// Flags: --expose-wasm --validate-asm --allow-natives-syntax
|
|
|
| function f() {
|
| "use asm";
|
|
|
| }
|
| assertFalse(Wasm == undefined);
|
| -assertThrows(function() { Wasm.instantiateModuleFromAsm(f.toString()); });
|
| +assertTrue(%IsNotAsmWasmCode(f));
|
|
|