Index: test/mjsunit/regress/regress-wasm-crbug-599413.js |
diff --git a/test/mjsunit/regress/regress-wasm-crbug-599413.js b/test/mjsunit/regress/regress-wasm-crbug-599413.js |
index acc39954375ce8fb0da31904f81b5e9a8af09cc4..8f11ee04259bf8bb9fc07feb94d55a872f6a8d27 100644 |
--- a/test/mjsunit/regress/regress-wasm-crbug-599413.js |
+++ b/test/mjsunit/regress/regress-wasm-crbug-599413.js |
@@ -2,7 +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: --validate-asm --allow-natives-syntax |
function __f_100() { |
"use asm"; |
@@ -15,6 +15,4 @@ function __f_100() { |
} |
return {__f_76: __f_76}; |
} |
-assertThrows(function() { |
- Wasm.instantiateModuleFromAsm(__f_100.toString()); |
-}); |
+assertTrue(%IsNotAsmWasmCode(__f_100)); |