--- a/c2iec.js +++ b/c2iec.js @@ -1289,11 +1289,11 @@ } var STATIC_BASE = 1024, - STACK_BASE = 6013600, + STACK_BASE = 6013552, STACKTOP = STACK_BASE, - STACK_MAX = 770720, - DYNAMIC_BASE = 6013600, - DYNAMICTOP_PTR = 770560; + STACK_MAX = 770672, + DYNAMIC_BASE = 6013552, + DYNAMICTOP_PTR = 770512; assert(STACK_BASE % 16 === 0, 'stack must start aligned'); assert(DYNAMIC_BASE % 16 === 0, 'heap must start aligned'); @@ -1854,7 +1854,7 @@ -// STATICTOP = STATIC_BASE + 769696; +// STATICTOP = STATIC_BASE + 769648; /* global initializers */ __ATINIT__.push({ func: function() { ___wasm_call_ctors() } }); @@ -1911,7 +1911,7 @@ } function _emscripten_get_sbrk_ptr() { - return 770560; + return 770512; } function _emscripten_memcpy_big(dest, src, num) {