Index: test/mjsunit/regress/regress-605488.js |
diff --git a/test/mjsunit/call-intrinsic-type-error.js b/test/mjsunit/regress/regress-605488.js |
similarity index 63% |
copy from test/mjsunit/call-intrinsic-type-error.js |
copy to test/mjsunit/regress/regress-605488.js |
index 9d586977d924829f664a34c915440b5c8498dd63..03e6a38e28b35bb6a23c2d3aa49a46142ee51d7f 100644 |
--- a/test/mjsunit/call-intrinsic-type-error.js |
+++ b/test/mjsunit/regress/regress-605488.js |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --allow-natives-syntax |
+// Flags: --expose-wasm |
try { |
- %Call(1, 0); |
+ Wasm.instantiateModuleFromAsm(""); |
+ assertTrue(false); |
} catch (e) { |
- assertTrue(e instanceof TypeError); |
+ print("Caught: " + e); |
} |