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

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

Issue 2525243002: [compiler] Consistently use Ignition+TurboFan for lexical variables. (Closed)
Patch Set: REBASE Created 4 years, 1 month 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 f3ba04d571b2b3b6f51bd0bf9d0371d534616fa9..a01f7224ee720839566689f10487a56d7953ccd3 100644
--- a/src/ast/ast-numbering.cc
+++ b/src/ast/ast-numbering.cc
@@ -158,6 +158,9 @@ void AstNumberingVisitor::VisitVariableProxyReference(VariableProxy* node) {
default:
break;
}
+ if (IsLexicalVariableMode(node->var()->mode())) {
adamk 2016/12/05 20:47:31 As noted on the other CL (fixing a perf regression
Benedikt Meurer 2016/12/06 05:10:48 Ah perfect, thanks a lot Adam for the investigatio
+ 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