diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-21 13:02:39 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-23 14:33:24 -0700 |
commit | c145771d6160492422ca41eb646fbcfe8c236039 (patch) | |
tree | e3ae53ad85ebb2d2ec99d33eb9815a61652c3666 /src/compiler.js | |
parent | 44276350fdbafc6e6c59c6f9a1b52d7e94d9f130 (diff) |
only create relooper in funcs phase
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js index a7013945..4f16986c 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -213,7 +213,7 @@ load('parseTools.js'); load('intertyper.js'); load('analyzer.js'); load('jsifier.js'); -if (RELOOP) { +if (phase == 'funcs' && RELOOP) { // XXX handle !singlePhase RelooperModule = { TOTAL_MEMORY: ceilPowerOfTwo(2*RELOOPER_BUFFER_SIZE) }; load(RELOOPER); assert(typeof Relooper != 'undefined'); |