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

Unified Diff: src/hydrogen.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/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index d9e22c15aca9e9e7c239bd8d205fb2f921a60a7d..86cccbf336234e59a45b1c80aaa2dbc67d2f1009 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -11051,6 +11051,11 @@ void HOptimizedGraphBuilder::HandleLiteralCompareNil(CompareOperation* expr,
}
+void HOptimizedGraphBuilder::VisitSpreadOperation(SpreadOperation* expr) {
+ Visit(expr->expression());
Dmitry Lomov (no reviews) 2015/03/31 10:09:42 Bailout instead of visiting.
+}
+
+
HInstruction* HOptimizedGraphBuilder::BuildThisFunction() {
// If we share optimized code between different closures, the
// this-function is not a constant, except inside an inlined body.

Powered by Google App Engine
This is Rietveld 408576698