Less debug output
authorLars Knoll <lars.knoll@digia.com>
Mon, 6 May 2013 13:25:53 +0000 (15:25 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Mon, 6 May 2013 13:56:45 +0000 (15:56 +0200)
Change-Id: I55faf0ebc5926b987d47d1afa12d87da2d2bcea6
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/v4/qv4codegen.cpp

index b3a14a7..9cfe50a 100644 (file)
@@ -223,7 +223,7 @@ void removeDeadAssignments(V4IR::Function *function)
     foreach (V4IR::BasicBlock *bb, function->basicBlocks) {
         QVector<V4IR::Stmt *> &statements = bb->statements;
         for (int i = 0; i < statements.size(); ) {
-            qout<<"removeDeadAssignments: considering ";statements.at(i)->dump(qout);qout<<"\n";qout.flush();
+            //qout<<"removeDeadAssignments: considering ";statements.at(i)->dump(qout);qout<<"\n";qout.flush();
             if (isDeadAssignment(statements.at(i), localCount)) {
                 statements.at(i)->destroyData();
                 statements.remove(i);
@@ -480,7 +480,7 @@ private:
     int thisTemp;
 };
 
-#define DEBUG_TEMP_COMPRESSION
+//#define DEBUG_TEMP_COMPRESSION
 #ifdef DEBUG_TEMP_COMPRESSION
 #  define DBTC(x) x
 #else // !DEBUG_TEMP_COMPRESSION