aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-17 12:54:50 +0100
committerAlon Zakai <alonzakai@gmail.com>2013-02-17 12:54:50 +0100
commit949311fde73446d011d2a04eab0bf06c519a405b (patch)
tree2eaa62b36182705372c4fbf6ab15d4ccd08b8ad9 /src/preamble.js
parentf894e88c3144aec452dc9827b3fb751f3e0f24a6 (diff)
remove asm memory masking per the new spec
Diffstat (limited to 'src/preamble.js')
-rw-r--r--src/preamble.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/preamble.js b/src/preamble.js
index aab50e9a..f168f5d5 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -655,11 +655,7 @@ function enlargeMemory() {
#endif
var TOTAL_STACK = Module['TOTAL_STACK'] || {{{ TOTAL_STACK }}};
-#if ASM_JS == 0
var TOTAL_MEMORY = Module['TOTAL_MEMORY'] || {{{ TOTAL_MEMORY }}};
-#else
-var TOTAL_MEMORY = {{{ TOTAL_MEMORY }}}; // in asm, we hardcode the mask, so cannot adjust memory at runtime
-#endif
var FAST_MEMORY = Module['FAST_MEMORY'] || {{{ FAST_MEMORY }}};
// Initialize the runtime's memory