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

Unified Diff: src/compiler/ast-graph-builder.cc

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add construct support, clean out some gunk Created 5 years, 10 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-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
index 9791f6f1a1b4b6920c04d3c0664d5664a67bc156..e73d4f59f920d87a3c8d2a11c36bfb3e2e43e3de 100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -2227,6 +2227,11 @@ void AstGraphBuilder::VisitCompareOperation(CompareOperation* expr) {
}
+void AstGraphBuilder::VisitSpreadOperation(SpreadOperation* expr) {
+ Visit(expr->expression());
arv (Not doing code reviews) 2015/02/18 15:07:05 missing todo?
+}
+
+
void AstGraphBuilder::VisitThisFunction(ThisFunction* expr) {
Node* value = GetFunctionClosure();
ast_context()->ProduceValue(value);

Powered by Google App Engine
This is Rietveld 408576698