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

Unified Diff: src/ic/ic.cc

Issue 1436493002: [builtins] Introduce specialized Call/CallFunction builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « src/ic/ic.h ('k') | src/ic/ic-state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index a7912930012998d43a3fcd477c5b1f6213aa40cc..c86b932d83c414f3dd7ee4ce35b2fe4ac37c52c0 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -1589,16 +1589,17 @@ MaybeHandle<Object> StoreIC::Store(Handle<Object> object, Handle<Name> name,
}
-Handle<Code> CallIC::initialize_stub(Isolate* isolate, int argc) {
- CallICTrampolineStub stub(isolate, CallICState(argc));
+Handle<Code> CallIC::initialize_stub(Isolate* isolate, int argc,
+ ConvertReceiverMode mode) {
+ CallICTrampolineStub stub(isolate, CallICState(argc, mode));
Handle<Code> code = stub.GetCode();
return code;
}
-Handle<Code> CallIC::initialize_stub_in_optimized_code(Isolate* isolate,
- int argc) {
- CallICStub stub(isolate, CallICState(argc));
+Handle<Code> CallIC::initialize_stub_in_optimized_code(
+ Isolate* isolate, int argc, ConvertReceiverMode mode) {
+ CallICStub stub(isolate, CallICState(argc, mode));
Handle<Code> code = stub.GetCode();
return code;
}
« no previous file with comments | « src/ic/ic.h ('k') | src/ic/ic-state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698