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

Unified Diff: src/hydrogen.cc

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add more variations to evaluation order tests 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/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 9d5fe3c4092cfa0cd5e66a829deee103c3dda9e9..9f448d2ca2dfed3f2a4ed7fe3520eaef6b387d44 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -11072,6 +11072,11 @@ void HOptimizedGraphBuilder::HandleLiteralCompareNil(CompareOperation* expr,
}
+void HOptimizedGraphBuilder::VisitSpreadOperation(SpreadOperation* expr) {
+ Visit(expr->expression());
+}
+
+
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