Bug 1028580 - Remove debugging printfs.
authorBrian Hackett <bhackett1024@gmail.com>
Tue, 22 Jul 2014 18:37:27 -0800
changeset 195634 5c157de1ee6ce6288d08981c599855e505b676d1
parent 195633 9c80c5b76cf074a94da52f8ac69e1b4c41d436e5
child 195635 9f4d4f62db1c1c73ee9547889c95c26de89127b0
push id27188
push usercbook@mozilla.com
push dateWed, 23 Jul 2014 13:53:43 +0000
treeherdermozilla-central@785acfd2ae48 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1028580
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1028580 - Remove debugging printfs.
js/src/jit/IonAnalysis.cpp
--- a/js/src/jit/IonAnalysis.cpp
+++ b/js/src/jit/IonAnalysis.cpp
@@ -228,18 +228,16 @@ MaybeFoldConditionBlock(MIRGraph &graph,
     // Short circuit the initial test to skip any constant branch eliminated above.
     UpdateTestSuccessors(graph.alloc(), initialBlock, initialTest->input(),
                          trueTarget, falseTarget, testBlock);
 
     // Finally, remove testBlock itself.
     finalTest->ifTrue()->removePredecessor(testBlock);
     finalTest->ifFalse()->removePredecessor(testBlock);
     graph.removeBlock(testBlock);
-
-    printf("WOOT\n");
 }
 
 static void
 MaybeFoldAndOrBlock(MIRGraph &graph, MBasicBlock *initialBlock)
 {
     // Optimize the MIR graph to improve the code generated for && and ||
     // operations when they are used in tests. This is very similar to the
     // above method for folding condition blocks, though the two are
@@ -315,18 +313,16 @@ MaybeFoldAndOrBlock(MIRGraph &graph, MBa
 
     UpdateTestSuccessors(graph.alloc(), branchBlock, branchResult,
                          finalTest->ifTrue(), finalTest->ifFalse(), testBlock);
 
     // Finally, remove testBlock itself.
     finalTest->ifTrue()->removePredecessor(testBlock);
     finalTest->ifFalse()->removePredecessor(testBlock);
     graph.removeBlock(testBlock);
-
-    printf("WOOT\n");
 }
 
 void
 jit::FoldTests(MIRGraph &graph)
 {
     for (MBasicBlockIterator block(graph.begin()); block != graph.end(); block++) {
         MaybeFoldConditionBlock(graph, *block);
         MaybeFoldAndOrBlock(graph, *block);