Index: src/ast/ast-literal-reindexer.cc |
diff --git a/src/ast/ast-literal-reindexer.cc b/src/ast/ast-literal-reindexer.cc |
index a349ae0e979c1f632a5ef52f1410a74479c47034..81a5225fdc2ee7e9a15f89452577db866c40ba72 100644 |
--- a/src/ast/ast-literal-reindexer.cc |
+++ b/src/ast/ast-literal-reindexer.cc |
@@ -249,21 +249,18 @@ void AstLiteralReindexer::VisitClassLiteral(ClassLiteral* node) { |
VisitVariableProxy(node->class_variable_proxy()); |
} |
for (int i = 0; i < node->properties()->length(); i++) { |
- VisitObjectLiteralProperty(node->properties()->at(i)); |
+ VisitLiteralProperty(node->properties()->at(i)); |
} |
} |
- |
void AstLiteralReindexer::VisitObjectLiteral(ObjectLiteral* node) { |
UpdateIndex(node); |
for (int i = 0; i < node->properties()->length(); i++) { |
- VisitObjectLiteralProperty(node->properties()->at(i)); |
+ VisitLiteralProperty(node->properties()->at(i)); |
} |
} |
- |
-void AstLiteralReindexer::VisitObjectLiteralProperty( |
- ObjectLiteralProperty* node) { |
+void AstLiteralReindexer::VisitLiteralProperty(LiteralProperty* node) { |
Visit(node->key()); |
Visit(node->value()); |
} |