| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index e19caf34c2a901be98b7a9eb414fcb59c9e10c35..e5b14b741de82487124d8cdd7005e508421603f4 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -3506,6 +3506,20 @@ void LCodeGen::DoDeferredRandom(LRandom* instr) {
|
| }
|
|
|
|
|
| +void LCodeGen::DoMathExp(LMathExp* instr) {
|
| + DoubleRegister input = ToDoubleRegister(instr->value());
|
| + DoubleRegister result = ToDoubleRegister(instr->result());
|
| + DoubleRegister double_scratch1 = ToDoubleRegister(instr->double_temp());
|
| + DoubleRegister double_scratch2 = double_scratch0();
|
| + Register temp1 = ToRegister(instr->temp1());
|
| + Register temp2 = ToRegister(instr->temp2());
|
| +
|
| + MathExpGenerator::EmitMathExp(
|
| + masm(), input, result, double_scratch1, double_scratch2,
|
| + temp1, temp2, scratch0());
|
| +}
|
| +
|
| +
|
| void LCodeGen::DoMathLog(LUnaryMathOperation* instr) {
|
| ASSERT(ToDoubleRegister(instr->result()).is(f4));
|
| TranscendentalCacheStub stub(TranscendentalCache::LOG,
|
|
|