V4: temporarilly disable the optmizer/regalloc.
authorErik Verbruggen <erik.verbruggen@me.com>
Mon, 9 Sep 2013 09:57:00 +0000 (11:57 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 9 Sep 2013 15:44:27 +0000 (17:44 +0200)
There are two bugs for which patches are pending. In order to unblock
qtquickcontrols, this code is disabled until those pending patches are
merged.

Change-Id: I2362bf3db0614ef8c6f45a1506838f227ea17b59
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4ssa.cpp

index cd1aaa6..5562cf6 100644 (file)
@@ -2599,7 +2599,7 @@ void Optimizer::run()
 
     static bool doOpt = qgetenv("QV4_NO_OPT").isEmpty();
 
-    if (!function->hasTry && !function->hasWith && doOpt) {
+    if (!function->hasTry && !function->hasWith && doOpt && false) {
 //        qout << "Starting edge splitting..." << endl;
         splitCriticalEdges(function);
 //        showMeTheCode(function);