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

Unified Diff: src/objects.h

Issue 1865863003: Cleanup IC-related code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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-inl.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 207034d74ab7b828e7094525aaabe083952d1ab6..2d0f9ea868e1cdba219dd606a2bb093344b09a20 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5012,15 +5012,10 @@ class Code: public HeapObject {
inline bool is_inline_cache_stub();
inline bool is_debug_stub();
inline bool is_handler();
- inline bool is_load_stub();
- inline bool is_keyed_load_stub();
- inline bool is_store_stub();
- inline bool is_keyed_store_stub();
inline bool is_call_stub();
inline bool is_binary_op_stub();
inline bool is_compare_ic_stub();
inline bool is_to_boolean_ic_stub();
- inline bool is_keyed_stub();
inline bool is_optimized_code();
inline bool is_wasm_code();
inline bool embeds_maps_weakly();
@@ -5127,20 +5122,6 @@ class Code: public HeapObject {
// Find the first map in an IC stub.
Map* FindFirstMap();
- void FindAllMaps(MapHandleList* maps);
-
- // Find the first handler in an IC stub.
- Code* FindFirstHandler();
-
- // Find |length| handlers and put them into |code_list|. Returns false if not
- // enough handlers can be found.
- bool FindHandlers(CodeHandleList* code_list, int length = -1);
-
- // Find the handler for |map|.
- MaybeHandle<Code> FindHandlerForMap(Map* map);
-
- // Find the first name in an IC stub.
- Name* FindFirstName();
class FindAndReplacePattern;
// For each (map-to-find, object-to-replace) pair in the pattern, this
@@ -5234,7 +5215,6 @@ class Code: public HeapObject {
DECLARE_VERIFIER(Code)
void ClearInlineCaches();
- void ClearInlineCaches(Kind kind);
BailoutId TranslatePcOffsetToAstId(uint32_t pc_offset);
uint32_t TranslateAstIdToPcOffset(BailoutId ast_id);
@@ -5403,8 +5383,6 @@ class Code: public HeapObject {
friend class RelocIterator;
friend class Deoptimizer; // For FindCodeAgeSequence.
- void ClearInlineCaches(Kind* kind);
-
// Code aging
byte* FindCodeAgeSequence();
static void GetCodeAgeAndParity(Code* code, Age* age,
« no previous file with comments | « src/ic/ic-inl.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698