aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-11 21:18:37 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-11 21:18:37 -0700
commit9e7a712c6b6186792f186ed6bd6d6af31d36a434 (patch)
treeed0b51d1f165dc80278aedf9f3f768fe303aff15 /src/compiler.js
parentfd301b105745a855e4cb231e217e8acf40df1858 (diff)
infrastructure for supporting exceptions in asm.js, by going through invoke_* calls
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 7cf43f09..9c19aeb0 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -178,7 +178,6 @@ 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, you must compile with -s DISABLE_EXCEPTION_CATCHING=1');
}
assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB)); // shared libraries must have named globals