aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler.js1
-rw-r--r--src/settings.js2
-rw-r--r--tests/runner.py3
3 files changed, 2 insertions, 4 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 6f514f89..e869f5ab 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -9,7 +9,6 @@ if (!this['read']) {
}
load('settings.js');
-if (LABEL_DEBUG && RELOOP) throw "Cannot debug labels if they have been relooped!";
load('utility.js');
load('enzymatic.js');
diff --git a/src/settings.js b/src/settings.js
index 302f04b2..2133479c 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -1,6 +1,6 @@
// Code embetterments
OPTIMIZE = 1; // Optimize llvm operations into js commands
-RELOOP = 1; // Recreate js native loops from llvm data
+RELOOP = 0; // Recreate js native loops from llvm data XXX - disabled pending optimizing rewrite
// Generated code debugging options
SAFE_HEAP = 0; // Check each write to the heap against a list of blocked addresses
diff --git a/tests/runner.py b/tests/runner.py
index 7affaf24..f96ffed7 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -736,8 +736,7 @@ class T(unittest.TestCase):
# XXX Warning: Running this in SpiderMonkey can lead to an extreme amount of memory being
# used, see Mozilla bug 593659.
assert PARSER_ENGINE != SPIDERMONKEY_ENGINE
- # XXX RELOOP = 1 either is very very slow, or nonfinishing
- self.do_test(path_from_root(['tests', 'sauer']), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp', emscripten_settings='{"RELOOP": 0}')
+ self.do_test(path_from_root(['tests', 'sauer']), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp')
# Test compilation with all the frontend compilers we have
for compiler_name, compiler_path in COMPILERS.iteritems():