| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 1f6c5adb9855548186d28cfa92c0d266080b23bf..6ff4cab9ac538951e946b95ebfa111b85d1f6f2d 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -3807,6 +3807,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(d2));
|
| TranscendentalCacheStub stub(TranscendentalCache::LOG,
|
|
|