Reviewers: Benedikt Meurer,
Message:
PTAL. Feel free to CQ.
Description:
[turbofan] Ship TF for computed property names.
[email protected]
BUG=v8:4158
LOG=N
Please review this at https://codereview.chromium.org/1162353002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/ast-numbering.cc
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());
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.