Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: src/ast/ast-numbering.cc

Issue 2647523002: Revert I+TF for lexical variables (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/bailout-reason.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast-numbering.cc
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc
index 374970775b53a25d6ded57af7ba058d59b6f59e8..25aa9d7a5a71b0c6b6a53721492db61ee77a9fff 100644
--- a/src/ast/ast-numbering.cc
+++ b/src/ast/ast-numbering.cc
@@ -166,12 +166,6 @@ void AstNumberingVisitor::VisitVariableProxyReference(VariableProxy* node) {
default:
break;
}
- if (node->var()->binding_needs_init()) {
- // Disable FCG+CS for all variable bindings that need explicit
- // initialization, i.e. ES2015 style const and let, but not
- // named function expressions.
- DisableFullCodegenAndCrankshaft(kReferenceToLetOrConstVariable);
- }
node->set_base_id(ReserveIdRange(VariableProxy::num_ids()));
}
« no previous file with comments | « no previous file | src/bailout-reason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698