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

Unified Diff: src/ic/ic.cc

Issue 2184063002: [stubs] Cleanup CodeFactory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Created 4 years, 5 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
« no previous file with comments | « src/ic/ic.h ('k') | no next file » | 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 a1b68340a581461ab053d6fccda889dd163a3a25..6e647ced4bab34c3e83fce9fdf497a183bc6501b 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -817,32 +817,6 @@ void IC::PatchCache(Handle<Name> name, Handle<Object> code) {
}
}
-Handle<Code> LoadIC::initialize_stub_in_optimized_code(Isolate* isolate) {
- if (FLAG_tf_load_ic_stub) {
- return LoadICTFStub(isolate).GetCode();
- }
- return LoadICStub(isolate).GetCode();
-}
-
-Handle<Code> LoadGlobalIC::initialize_stub_in_optimized_code(
- Isolate* isolate, ExtraICState extra_state) {
- return LoadGlobalICStub(isolate, LoadGlobalICState(extra_state)).GetCode();
-}
-
-Handle<Code> KeyedLoadIC::initialize_stub_in_optimized_code(Isolate* isolate) {
- if (FLAG_tf_load_ic_stub) {
- return KeyedLoadICTFStub(isolate).GetCode();
- }
- return KeyedLoadICStub(isolate).GetCode();
-}
-
-Handle<Code> KeyedStoreIC::initialize_stub_in_optimized_code(
- Isolate* isolate, LanguageMode language_mode) {
- StoreICState state = StoreICState(language_mode);
- return KeyedStoreICStub(isolate, state).GetCode();
-}
-
-
Handle<Code> KeyedStoreIC::ChooseMegamorphicStub(Isolate* isolate,
ExtraICState extra_state) {
LanguageMode mode = StoreICState::GetLanguageMode(extra_state);
@@ -1594,20 +1568,6 @@ MaybeHandle<Object> StoreIC::Store(Handle<Object> object, Handle<Name> name,
return value;
}
-Handle<Code> CallIC::initialize_stub_in_optimized_code(
- Isolate* isolate, int argc, ConvertReceiverMode mode,
- TailCallMode tail_call_mode) {
- CallICStub stub(isolate, CallICState(argc, mode, tail_call_mode));
- Handle<Code> code = stub.GetCode();
- return code;
-}
-
-Handle<Code> StoreIC::initialize_stub_in_optimized_code(
- Isolate* isolate, LanguageMode language_mode) {
- StoreICStub stub(isolate, StoreICState(language_mode));
- return stub.GetCode();
-}
-
void StoreIC::UpdateCaches(LookupIterator* lookup, Handle<Object> value,
JSReceiver::StoreFromKeyed store_mode) {
if (state() == UNINITIALIZED) {
@@ -2729,14 +2689,6 @@ Code* CompareIC::GetRawUninitialized(Isolate* isolate, Token::Value op) {
return code;
}
-Handle<Code> CompareIC::GetUninitialized(Isolate* isolate, Token::Value op) {
- CompareICStub stub(isolate, op, CompareICState::UNINITIALIZED,
- CompareICState::UNINITIALIZED,
- CompareICState::UNINITIALIZED);
- return stub.GetCode();
-}
-
-
Code* CompareIC::UpdateCaches(Handle<Object> x, Handle<Object> y) {
HandleScope scope(isolate());
CompareICStub old_stub(target()->stub_key(), isolate());
« no previous file with comments | « src/ic/ic.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698