Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 15792805e452175a1efe9e27950f69bf1aa114a8..c25b5705d5a871a92e7864edc63696cf7097849e 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -438,7 +438,7 @@ bool ParserTraits::ShortcutNumericLiteralBinaryExpression( |
return true; |
} |
case Token::EXP: { |
- double value = std::pow(x_val, y_val); |
+ double value = Pow(x_val, y_val); |
int int_value = static_cast<int>(value); |
*x = factory->NewNumberLiteral( |
int_value == value && value != -0.0 ? int_value : value, pos, |