| Index: src/arm/code-stubs-arm.cc
|
| diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc
|
| index 4e7b248cca41aeec0dbd8a8162638950fd239f5e..d9449d55436261c259438eb60a1e1b8dc13b927d 100644
|
| --- a/src/arm/code-stubs-arm.cc
|
| +++ b/src/arm/code-stubs-arm.cc
|
| @@ -1351,13 +1351,13 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| {
|
| AllowExternalCallThatCantCauseGC scope(masm);
|
| __ PrepareCallCFunction(0, 2, scratch);
|
| - __ SetCallCDoubleArguments(double_base, double_exponent);
|
| + __ MovToFloatParameters(double_base, double_exponent);
|
| __ CallCFunction(
|
| ExternalReference::power_double_double_function(masm->isolate()),
|
| 0, 2);
|
| }
|
| __ pop(lr);
|
| - __ GetCFunctionDoubleResult(double_result);
|
| + __ MovFromFloatResult(double_result);
|
| __ jmp(&done);
|
|
|
| __ bind(&int_exponent_convert);
|
| @@ -1425,13 +1425,13 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| {
|
| AllowExternalCallThatCantCauseGC scope(masm);
|
| __ PrepareCallCFunction(0, 2, scratch);
|
| - __ SetCallCDoubleArguments(double_base, double_exponent);
|
| + __ MovToFloatParameters(double_base, double_exponent);
|
| __ CallCFunction(
|
| ExternalReference::power_double_double_function(masm->isolate()),
|
| 0, 2);
|
| }
|
| __ pop(lr);
|
| - __ GetCFunctionDoubleResult(double_result);
|
| + __ MovFromFloatResult(double_result);
|
|
|
| __ bind(&done);
|
| __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2);
|
|
|