aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-03 12:49:06 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-03 12:49:06 -0800
commit1ee2b439f4265d5717a6450e1b26711f0ea85bb6 (patch)
treeef3789e30e9c556bbaa3b51d48fc2eab834c7663 /src/compiler.js
parent2f0b24bad56feda4369f6f5cff09c47a6126af9a (diff)
remove ASM_JS warning and add check for exception catching being off in it, the last remaining issue for it
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 14816f1e..b40891a5 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -172,6 +172,7 @@ assert(!(USE_TYPED_ARRAYS === 2 && QUANTUM_SIZE !== 4), 'For USE_TYPED_ARRAYS ==
if (ASM_JS) {
assert(!ALLOW_MEMORY_GROWTH, 'Cannot grow asm.js heap');
assert((TOTAL_MEMORY&(TOTAL_MEMORY-1)) == 0, 'asm.js heap must be power of 2');
+ assert(DISABLE_EXCEPTION_CATCHING == 1, 'asm.js does not support C++ exceptions yet');
}
assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB)); // shared libraries must have named globals