Bug 1119783 - IonMonkey MIPS: Fix latest build issues. r=jandem

This commit is contained in:
Branislav Rankov 2015-01-12 12:58:36 +01:00
parent 959e325991
commit d8abe9b05e
3 changed files with 10 additions and 1 deletions

View File

@ -59,7 +59,7 @@ CodeGeneratorMIPS::generateEpilogue()
#ifdef JS_TRACE_LOGGING
if (gen->info().executionMode() == SequentialExecution) {
emitTracelogStopEvent(TraceLogger::IonMonkey);
emitTracelogStopEvent(TraceLogger_IonMonkey);
emitTracelogScriptStop();
}
#endif

View File

@ -2561,6 +2561,13 @@ MacroAssemblerMIPSCompat::unboxNonDouble(const Address &src, Register dest)
ma_lw(dest, Address(src.base, src.offset + PAYLOAD_OFFSET));
}
void
MacroAssemblerMIPSCompat::unboxNonDouble(const BaseIndex &src, Register dest)
{
computeScaledAddress(src, SecondScratchReg);
ma_lw(dest, Address(SecondScratchReg, src.offset + PAYLOAD_OFFSET));
}
void
MacroAssemblerMIPSCompat::unboxInt32(const ValueOperand &operand, Register dest)
{

View File

@ -560,6 +560,7 @@ class MacroAssemblerMIPSCompat : public MacroAssemblerMIPS
// unboxing code
void unboxNonDouble(const ValueOperand &operand, Register dest);
void unboxNonDouble(const Address &src, Register dest);
void unboxNonDouble(const BaseIndex &src, Register dest);
void unboxInt32(const ValueOperand &operand, Register dest);
void unboxInt32(const Address &src, Register dest);
void unboxBoolean(const ValueOperand &operand, Register dest);
@ -570,6 +571,7 @@ class MacroAssemblerMIPSCompat : public MacroAssemblerMIPS
void unboxString(const Address &src, Register dest);
void unboxObject(const ValueOperand &src, Register dest);
void unboxObject(const Address &src, Register dest);
void unboxObject(const BaseIndex &src, Register dest) { unboxNonDouble(src, dest); }
void unboxValue(const ValueOperand &src, AnyRegister dest);
void unboxPrivate(const ValueOperand &src, Register dest);