aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-13 15:15:14 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-13 15:15:14 -0800
commit0cef1b4432d180e747c88a75680d9ece78bcc50a (patch)
tree7346bbd6a970470396559fc7785c2878b642c29a
parent2e55061621e16964e244906c3236797408aee119 (diff)
don't align STATICTOP needlessly
-rw-r--r--src/preamble.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/preamble.js b/src/preamble.js
index f7952781..e24c2957 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -720,8 +720,7 @@ function copyTempDouble(ptr) {
}
#endif
-STATICTOP = alignMemoryPage(STACK_MAX);
-assert(STATICTOP == STACK_MAX); // STACK_MAX must be aligned
+STATICTOP = STACK_MAX;
assert(STATICTOP < TOTAL_MEMORY); // Stack must fit in TOTAL_MEMORY; allocations from here on may enlarge TOTAL_MEMORY
var nullString = allocate(intArrayFromString('(null)'), 'i8', ALLOC_STACK);