aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-01 11:32:48 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-01 11:32:48 -0800
commit8fdae50a45b2cde57bc19786a043ed4ba05b3ae8 (patch)
tree0499190f3203909f9001342b2501f25b881264b4
parentfe6518c8daaac34f8c40167b00f3cd7be7df2d62 (diff)
fix tempDouble bug with not including it in all cases
-rw-r--r--src/preamble.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/preamble.js b/src/preamble.js
index d0391af5..8dd2c39d 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -642,7 +642,6 @@ Module['HEAPF32'] = HEAPF32;
STACK_ROOT = STACKTOP = Runtime.alignMemory(STATICTOP);
STACK_MAX = STACK_ROOT + TOTAL_STACK;
-#if DOUBLE_MODE == 1
#if USE_TYPED_ARRAYS == 2
var tempDoublePtr = Runtime.alignMemory(STACK_MAX, 8);
var tempDoubleI8 = HEAP8.subarray(tempDoublePtr);
@@ -667,7 +666,6 @@ function copyTempDouble(ptr) {
}
STACK_MAX = tempDoublePtr + 8;
#endif
-#endif
STATICTOP = alignMemoryPage(STACK_MAX);