diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-30 16:29:52 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:21 -0800 |
commit | 41359b35684cb512077d1a69ecaf1eb850fd305f (patch) | |
tree | 345aaa2e993b2433bb74fc0738541178ad706902 /src/runtime.js | |
parent | 9db2fd8bc52246c1f073fcfa88ba375fe9391cbd (diff) |
move stack manipulation into asm
Diffstat (limited to 'src/runtime.js')
-rw-r--r-- | src/runtime.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime.js b/src/runtime.js index fbdf4970..a32785f3 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -27,7 +27,7 @@ var RuntimeGenerator = { // The stack is always QUANTUM SIZE aligned, so we may not need to force alignment here var ret = RuntimeGenerator.alloc(size, 'STACK', INIT_STACK, sep, USE_TYPED_ARRAYS != 2 || (isNumber(size) && parseInt(size) % {{{ QUANTUM_SIZE }}} == 0)); if (ASSERTIONS) { - ret += sep + 'assert(STACKTOP < (STACK_ROOT + STACK_MAX)|0)'; + ret += sep + 'assert(STACKTOP|0 < STACK_MAX|0)'; } return ret; }, |