# HG changeset patch # User Hannes Verschore # Date 1398688725 -7200 # Node ID fbe7d0fd049c7287581d91ccf17a674dfb540a52 # Parent 0512907b10907cdd3b08b0bfb57aa2578dbb298f Bug 716647: Fix Tracelogger after baseline adjustments, r=till diff --git a/js/src/jit/BaselineCompiler.cpp b/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();