Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 853c2c76eaad16d943eec2953ff060dd016fd898..35c7eaa3cc5d26a638a3f270d567ce202e01cbc8 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -1196,8 +1196,8 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
if (exponent_type_ != INTEGER) { |
// Detect integer exponents stored as doubles and handle those in the |
// integer fast-path. |
- __ TryConvertDoubleToInt64(exponent_integer, exponent_double, |
- scratch0_double, &exponent_is_integer); |
+ __ TryRepresentDoubleAsInt64(exponent_integer, exponent_double, |
+ scratch0_double, &exponent_is_integer); |
if (exponent_type_ == ON_STACK) { |
FPRegister half_double = d3; |