Bug 716647: Fix Tracelogger after baseline adjustments, r=till
authorHannes Verschore <hv1989@gmail.com>
Mon, 28 Apr 2014 14:38:45 +0200
changeset 180933 fbe7d0fd049c7287581d91ccf17a674dfb540a52
parent 180932 0512907b10907cdd3b08b0bfb57aa2578dbb298f
child 180934 bff4e97827d2c28f3acb6b149afc4dc78b4cbfe1
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewerstill
bugs716647
milestone31.0a1
Bug 716647: Fix Tracelogger after baseline adjustments, r=till
js/src/jit/BaselineCompiler.cpp
--- a/js/src/jit/BaselineCompiler.cpp
+++ b/js/src/jit/BaselineCompiler.cpp
@@ -337,17 +337,17 @@ BaselineCompiler::emitPrologue()
     if (needsEarlyStackCheck())
         masm.bind(&earlyStackCheckFailed);
 
 #ifdef JS_TRACE_LOGGING
     TraceLogger *logger = TraceLoggerForMainThread(cx->runtime());
     Register loggerReg = RegisterSet::Volatile().takeGeneral();
     masm.Push(loggerReg);
     masm.movePtr(ImmPtr(logger), loggerReg);
-    masm.tracelogStart(loggerReg, TraceLogCreateTextId(logger, script.get()));
+    masm.tracelogStart(loggerReg, TraceLogCreateTextId(logger, script));
     masm.tracelogStart(loggerReg, TraceLogger::Baseline);
     masm.Pop(loggerReg);
 #endif
 
     // Record the offset of the prologue, because Ion can bailout before
     // the scope chain is initialized.
     prologueOffset_ = masm.currentOffset();