Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 24df10cb9d7a4021d1541c90c77e09caee97ed6a..0f947ac5e60bba11cb5b9cfbfe2ea6e9ab40e36a 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -5782,7 +5782,7 @@ Expression* Parser::RewriteExponentiation(Expression* left, Expression* right, |
ZoneList<Expression*>* args = new (zone()) ZoneList<Expression*>(2, zone()); |
args->Add(left, zone()); |
args->Add(right, zone()); |
- return factory()->NewCallRuntime(Context::MATH_POW_METHOD_INDEX, args, pos); |
+ return factory()->NewCallRuntime(Context::MATH_POW_INDEX, args, pos); |
} |
Expression* Parser::RewriteAssignExponentiation(Expression* left, |
@@ -5799,7 +5799,7 @@ Expression* Parser::RewriteAssignExponentiation(Expression* left, |
args->Add(left, zone()); |
args->Add(right, zone()); |
Expression* call = |
- factory()->NewCallRuntime(Context::MATH_POW_METHOD_INDEX, args, pos); |
+ factory()->NewCallRuntime(Context::MATH_POW_INDEX, args, pos); |
return factory()->NewAssignment(Token::ASSIGN, result, call, pos); |
} else if (left->IsProperty()) { |
Property* prop = left->AsProperty(); |
@@ -5817,7 +5817,7 @@ Expression* Parser::RewriteAssignExponentiation(Expression* left, |
zone()); |
args->Add(right, zone()); |
Expression* call = |
- factory()->NewCallRuntime(Context::MATH_POW_METHOD_INDEX, args, pos); |
+ factory()->NewCallRuntime(Context::MATH_POW_INDEX, args, pos); |
Expression* target = factory()->NewProperty( |
factory()->NewVariableProxy(temp_obj), |
factory()->NewVariableProxy(temp_key), kNoSourcePosition); |