Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: test/mjsunit/asm/asm-validation.js

Issue 2549463002: [wasm] Cleanup %IsAsmWasmCode testing predicate. (Closed)
Patch Set: Rebased. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/asm-validation.js
diff --git a/test/mjsunit/asm/asm-validation.js b/test/mjsunit/asm/asm-validation.js
index d4c6fff1cf76f5c8cbaf8cbb374fb3dba92168a5..a7935dc2c1770700b37bff39b718d11282813f77 100644
--- a/test/mjsunit/asm/asm-validation.js
+++ b/test/mjsunit/asm/asm-validation.js
@@ -4,6 +4,12 @@
// Flags: --validate-asm --allow-natives-syntax
+// Note that this test file contains tests that explicitly check modules are
+// valid asm.js and then break them with invalid instantiation arguments. If
+// this script is run more than once (e.g. --stress-opt) then modules remain
+// broken in the second run and assertions would fail. We prevent re-runs.
+// Flags: --nostress-opt
+
function assertValidAsm(func) {
assertTrue(%IsAsmWasmCode(func));
}
« no previous file with comments | « src/runtime/runtime-test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698