aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js2
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');