From 0cef1b4432d180e747c88a75680d9ece78bcc50a Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 13 Dec 2012 15:15:14 -0800 Subject: don't align STATICTOP needlessly --- src/preamble.js | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3-18-g5258