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

Unified Diff: src/ic/ic.cc

Issue 919703003: WIP: Implement ES6 Spread-calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: AssignmentExpressions are not spreadable, add cctests for parsing 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/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index ce5cc78b4391c0a1dca9f2361169d809e2f53fc4..166cb76f6a48f9c205a3d6509a948915a3e37964 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -1600,8 +1600,9 @@ MaybeHandle<Object> StoreIC::Store(Handle<Object> object, Handle<Name> name,
Handle<Code> CallIC::initialize_stub(Isolate* isolate, int argc,
- CallICState::CallType call_type) {
- CallICTrampolineStub stub(isolate, CallICState(argc, call_type));
+ CallICState::CallType call_type,
+ bool is_spread) {
+ CallICTrampolineStub stub(isolate, CallICState(argc, call_type, is_spread));
Handle<Code> code = stub.GetCode();
return code;
}

Powered by Google App Engine
This is Rietveld 408576698