Bug 716647: Fix Tracelogger after baseline adjustments, r=till

This commit is contained in:
Hannes Verschore 2014-04-28 14:38:45 +02:00
parent 34f06b7691
commit a13e822000

View File

@ -342,7 +342,7 @@ BaselineCompiler::emitPrologue()
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