diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-06 13:45:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-06 13:45:33 -0800 |
commit | 4518cc29290315cb528d260a7ca2c0427bb1579d (patch) | |
tree | 3201197d21eb42a9abce5a171d914c8e0fc2cdd8 /src | |
parent | bea3d23dc5316222d31127299ea1896223075ac4 (diff) |
two small fixes, for benchmarks and memory growth
Diffstat (limited to 'src')
-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 e0eb7404..637632f8 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -59,7 +59,7 @@ var RuntimeGenerator = { var ret = ''; if (USE_TYPED_ARRAYS) ret += 'LAST_STATICTOP = STATICTOP;' ret += RuntimeGenerator.alloc(size, 'STATIC', INIT_HEAP); - if (USE_TYPED_ARRAYS) ret += 'if (STATICTOP >= TOTAL_MEMORY) enlargeMemory();' + if (USE_TYPED_ARRAYS) ret += '; if (STATICTOP >= TOTAL_MEMORY) enlargeMemory();' return ret; }, |