aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-11 11:29:17 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-11 11:29:17 -0700
commit37aea4b81eaca50d8754c3de015e64bd665e8a64 (patch)
tree0009a151e9f072a6808730ead2ebb97d351fa84b
parent83c6879163bbda22ed7672e2899f07c8412c4bdb (diff)
better assertion message for corruption checker and asm
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index a3b26aa9..49f2c564 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -1833,7 +1833,7 @@ function JSify(data, functionsOnly, givenFunctions) {
}
if (CORRUPTION_CHECK) {
- assert(!ASM_JS); // cannot monkeypatch asm!
+ assert(!ASM_JS, 'corruption checker is not compatible with asm.js');
print(processMacros(read('corruptionCheck.js')));
}
if (HEADLESS) {