diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-28 14:27:06 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-28 14:27:06 -0700 |
commit | 8f008c81e3e26ccdddbe0948ef09b22190259944 (patch) | |
tree | 0c9c6fceea390c09ea39151815c5b12c2c521773 /src/compiler.js | |
parent | 7695d1a474ec0433e5b2c3100933b4047b83a4b9 (diff) |
disable BSS when SAFE_HEAP
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js index 94e77e26..365ff32f 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -176,6 +176,8 @@ DEAD_FUNCTIONS = numberedSet(DEAD_FUNCTIONS); RUNTIME_DEBUG = LIBRARY_DEBUG || GL_DEBUG; +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'); |