Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index 8e00a782d57e91511c3f6b93cef9c085c4c6cd41..ba490523b835dbb5318c2603ed6b187f903bb830 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -446,7 +446,7 @@ void AstNumberingVisitor::VisitObjectLiteral(ObjectLiteral* node) { |
void AstNumberingVisitor::VisitObjectLiteralProperty( |
ObjectLiteralProperty* node) { |
- if (node->is_computed_name()) DisableOptimization(kComputedPropertyName); |
+ if (node->is_computed_name()) DisableCrankshaft(kComputedPropertyName); |
Visit(node->key()); |
Visit(node->value()); |
} |