Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index ddd5037009078afe60ffd55d07e27ae4f27b459e..ac8c04a49debda1aa7037fa0c0f434f00ddee8a0 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -1936,12 +1936,12 @@ void LCodeGen::DoArithmeticD(LArithmeticD* instr) { |
__ MultiPush(saved_regs); |
__ PrepareCallCFunction(0, 2, scratch0()); |
- __ SetCallCDoubleArguments(left, right); |
+ __ MovToFloatParameters(left, right); |
__ CallCFunction( |
ExternalReference::mod_two_doubles_operation(isolate()), |
0, 2); |
// Move the result in the double result register. |
- __ GetCFunctionDoubleResult(result); |
+ __ MovFromFloatResult(result); |
// Restore saved register. |
__ MultiPop(saved_regs); |
@@ -3856,10 +3856,10 @@ void LCodeGen::DoMathExp(LMathExp* instr) { |
void LCodeGen::DoMathLog(LMathLog* instr) { |
__ PrepareCallCFunction(0, 1, scratch0()); |
- __ SetCallCDoubleArguments(ToDoubleRegister(instr->value())); |
+ __ MovToFloatParameter(ToDoubleRegister(instr->value())); |
__ CallCFunction(ExternalReference::math_log_double_function(isolate()), |
0, 1); |
- __ GetCFunctionDoubleResult(ToDoubleRegister(instr->result())); |
+ __ MovFromFloatResult(ToDoubleRegister(instr->result())); |
} |