aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-22 11:11:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-29 13:02:00 -0700
commit174fc66d0ade7f5922341d339f9c8f7262fd35a4 (patch)
tree993d846d163760b983ef59217c0d59107fc934cb
parentef67463a0d300d6bb5899632fc96e18726351613 (diff)
remove unused line
-rw-r--r--src/runtime.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime.js b/src/runtime.js
index 0a991117..5b12241e 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -23,7 +23,6 @@ var RuntimeGenerator = {
// An allocation that lives as long as the current function call
stackAlloc: function(size, sep) {
sep = sep || ';';
- if (USE_TYPED_ARRAYS === 2) 'STACKTOP = (STACKTOP + STACKTOP|0 % ' + ({{{ STACK_ALIGN }}} - (isNumber(size) ? Math.min(size, {{{ STACK_ALIGN }}}) : {{{ STACK_ALIGN }}})) + ')' + sep;
var ret = RuntimeGenerator.alloc(size, 'STACK', false, sep, USE_TYPED_ARRAYS != 2 || (isNumber(size) && parseInt(size) % {{{ STACK_ALIGN }}} == 0));
if (ASSERTIONS) {
ret += sep + 'assert(' + asmCoercion('(STACKTOP|0) < (STACK_MAX|0)', 'i32') + ')';