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

Unified Diff: src/compiler/ast-loop-assignment-analyzer.cc

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits Created 5 years, 9 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
Index: src/compiler/ast-loop-assignment-analyzer.cc
diff --git a/src/compiler/ast-loop-assignment-analyzer.cc b/src/compiler/ast-loop-assignment-analyzer.cc
index 4028b9412ba8e3647e02a8326ae531847057849e..a20f13f529d2f67f89c6d374813c23eb54c904f9 100644
--- a/src/compiler/ast-loop-assignment-analyzer.cc
+++ b/src/compiler/ast-loop-assignment-analyzer.cc
@@ -195,6 +195,9 @@ void ALAA::VisitCompareOperation(CompareOperation* e) {
}
+void ALAA::VisitSpread(Spread* e) { Visit(e->expression()); }
Michael Starzinger 2015/04/08 18:48:26 nit: Should be UNREACHABLE as well, correct?
arv (Not doing code reviews) 2015/04/08 18:58:59 I don't think so. The spread expression can be any
caitp (gmail) 2015/04/08 19:02:54 Spread* nodes get completely removed from the grap
+
+
void ALAA::VisitCaseClause(CaseClause* cc) {
if (!cc->is_default()) Visit(cc->label());
VisitStatements(cc->statements());

Powered by Google App Engine
This is Rietveld 408576698