Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 09f405704b1525093c4b36d3f756bc5443d8181a..69cea62d827034bcd931b4661e13afdccda12db5 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -440,7 +440,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, |