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

Unified Diff: src/ic/ic.cc

Issue 1407373007: Remove CallFunctionStub, always call through the Call builtin (also from CallIC) (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 39ee7db9552f808e96931467544512a5f9cb4ee5..fca71e1f47712e02179f96251a2a8b7ef8c039be 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -1584,17 +1584,16 @@ 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));
+Handle<Code> CallIC::initialize_stub(Isolate* isolate, int argc) {
+ CallICTrampolineStub stub(isolate, CallICState(argc));
Handle<Code> code = stub.GetCode();
return code;
}
-Handle<Code> CallIC::initialize_stub_in_optimized_code(
- Isolate* isolate, int argc, CallICState::CallType call_type) {
- CallICStub stub(isolate, CallICState(argc, call_type));
+Handle<Code> CallIC::initialize_stub_in_optimized_code(Isolate* isolate,
+ int argc) {
+ CallICStub stub(isolate, CallICState(argc));
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