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

Unified Diff: src/ic.h

Issue 179613002: Revert r19455 "Load target types and handlers before IC computation." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « no previous file | src/ic.cc » ('j') | src/ic.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.h
diff --git a/src/ic.h b/src/ic.h
index fce585f6d72743780d7d0ceca8d446d84474b557..213a48182635badf5c833729e0d8d143e999b6c8 100644
--- a/src/ic.h
+++ b/src/ic.h
@@ -150,19 +150,6 @@ class IC {
// Get the call-site target; used for determining the state.
Handle<Code> target() const { return target_; }
- TypeHandleList* types() { return &types_; }
- CodeHandleList* handlers() { return &handlers_; }
- Map* first_map() {
- return types_.length() == 0 ? NULL : *TypeToMap(*types_.at(0), isolate_);
- }
- Code* first_handler() {
- return handlers_.length() == 0 ? NULL : *handlers_.at(0);
- }
- void GetMapsFromTypes(MapHandleList* maps) {
- for (int i = 0; i < types_.length(); ++i) {
- maps->Add(TypeToMap(*types_.at(i), isolate_));
- }
- }
Address fp() const { return fp_; }
Address pc() const { return *pc_address_; }
Isolate* isolate() const { return isolate_; }
@@ -222,7 +209,7 @@ class IC {
virtual void UpdateMegamorphicCache(HeapType* type, Name* name, Code* code);
void CopyICToMegamorphicCache(Handle<String> name);
- bool IsTransitionOfMonomorphicTarget(Map* source_map, Map* target_map);
+ bool IsTransitionOfMonomorphicTarget(Handle<HeapType> type);
void PatchCache(Handle<HeapType> type,
Handle<String> name,
Handle<Code> code);
@@ -273,9 +260,6 @@ class IC {
ExtraICState extra_ic_state_;
- TypeHandleList types_;
- CodeHandleList handlers_;
-
DISALLOW_IMPLICIT_CONSTRUCTORS(IC);
};
« no previous file with comments | « no previous file | src/ic.cc » ('j') | src/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698