Bug 998251 - IonMonkey: print to the right stream during IONFLAGS=logs, r=nbp,nbp
authorHannes Verschore <hv1989@gmail.com>
Fri, 18 Apr 2014 16:00:20 +0200
changeset 179645 af1479b9a7ef9ab55803ed1545a1ac7a3776f342
parent 179644 a90a994dee5fa3bc2f7891e52eaf79e402cdcdad
child 179646 d947c69441bcd987e482be609ab56e60ff9e043b
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersnbp, nbp
bugs998251
milestone31.0a1
Bug 998251 - IonMonkey: print to the right stream during IONFLAGS=logs, r=nbp,nbp
js/src/jit/LIR.cpp
--- a/js/src/jit/LIR.cpp
+++ b/js/src/jit/LIR.cpp
@@ -384,17 +384,17 @@ LInstruction::dump(FILE *fp)
         fprintf(fp, " t=(");
         for (size_t i = 0; i < numTemps(); i++) {
             PrintDefinition(fp, *getTemp(i));
             if (i != numTemps() - 1)
                 fprintf(fp, ", ");
         }
         fprintf(fp, ")");
     }
-    fprintf(stderr, "\n");
+    fprintf(fp, "\n");
 }
 
 void
 LInstruction::dump()
 {
     return dump(stderr);
 }