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

Unified Diff: src/full-codegen.cc

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove --harmony-spread flag 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/full-codegen.cc
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index a2e3e8c74ac526422549d4f19f6d33d550c90d15..88e715be2f64d0b7e88a39f8c685278a854d6d9c 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -288,6 +288,11 @@ void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) {
}
+void BreakableStatementChecker::VisitSpreadOperation(SpreadOperation* expr) {
+ Visit(expr->expression());
+}
+
+
void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) {
}
@@ -1622,6 +1627,11 @@ void FullCodeGenerator::VisitThrow(Throw* expr) {
}
+void FullCodeGenerator::VisitSpreadOperation(SpreadOperation* expr) {
+ Visit(expr->expression());
+}
+
+
FullCodeGenerator::NestedStatement* FullCodeGenerator::TryCatch::Exit(
int* stack_depth,
int* context_length) {

Powered by Google App Engine
This is Rietveld 408576698