diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-19 12:09:18 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-19 12:09:18 -0800 |
commit | 7fff4e3eaa209df9a7f967a89dca1362d1ede536 (patch) | |
tree | ead6d36747e062e50222a0025d4b607ded340076 /src | |
parent | fa70d238fca62dc3f7b1aefa8f0bf8c6dc337eea (diff) |
better error message for asm.js not supporting growable heap yet
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/compiler.js b/src/compiler.js index e4ce1c88..17a8e83c 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -183,9 +183,6 @@ if (SAFE_HEAP) USE_BSS = 0; // must initialize heap for safe heap // Settings sanity checks assert(!(USE_TYPED_ARRAYS === 2 && QUANTUM_SIZE !== 4), 'For USE_TYPED_ARRAYS == 2, must have normal QUANTUM_SIZE of 4'); -if (ASM_JS) { - assert(!ALLOW_MEMORY_GROWTH, 'Cannot grow asm.js heap'); -} assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB), 'shared libraries must have named globals'); // Output some info and warnings based on settings |