diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-08 17:15:37 -0400 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-08 17:27:55 -0400 |
commit | b5f705842e51df9ae25be76feaf1495de8e4252c (patch) | |
tree | a86cc2da6aaf3af55fce7c3ae0bef182dff4c94d /src/compiler.js | |
parent | 706907a119b8b74b04daadcd77a741b0bdc74b2c (diff) |
automatically adjust asm heap size
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js index 90060837..eadd6a88 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -185,7 +185,6 @@ if (SAFE_HEAP) USE_BSS = 0; // must initialize heap for safe heap 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((TOTAL_MEMORY&(TOTAL_MEMORY-1)) == 0, 'asm.js heap must be power of 2'); } assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB), 'shared libraries must have named globals'); |