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

Unified Diff: src/compiler/js-type-feedback.h

Issue 1370303004: Distinction between FeedbackVectorICSlot and FeedbackVectorSlot eliminated. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed release builds Created 5 years, 3 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/compiler/js-operator.cc ('k') | src/compiler/js-type-feedback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-type-feedback.h
diff --git a/src/compiler/js-type-feedback.h b/src/compiler/js-type-feedback.h
index 84060f80964c7be82f171d413781d85abbe39331..49b46d2858bed3a8c6c70826fa23c4d69e7ba764 100644
--- a/src/compiler/js-type-feedback.h
+++ b/src/compiler/js-type-feedback.h
@@ -28,18 +28,17 @@ class JSTypeFeedbackTable : public ZoneObject {
explicit JSTypeFeedbackTable(Zone* zone);
void Record(Node* node, TypeFeedbackId id);
- void Record(Node* node, FeedbackVectorICSlot slot);
+ void Record(Node* node, FeedbackVectorSlot slot);
private:
friend class JSTypeFeedbackSpecializer;
typedef std::map<NodeId, TypeFeedbackId, std::less<NodeId>,
zone_allocator<TypeFeedbackId> > TypeFeedbackIdMap;
- typedef std::map<NodeId, FeedbackVectorICSlot, std::less<NodeId>,
- zone_allocator<FeedbackVectorICSlot> >
- FeedbackVectorICSlotMap;
+ typedef std::map<NodeId, FeedbackVectorSlot, std::less<NodeId>,
+ zone_allocator<FeedbackVectorSlot> > FeedbackVectorSlotMap;
TypeFeedbackIdMap type_feedback_id_map_;
- FeedbackVectorICSlotMap feedback_vector_ic_slot_map_;
+ FeedbackVectorSlotMap feedback_vector_slot_map_;
TypeFeedbackId FindTypeFeedbackId(Node* node) {
TypeFeedbackIdMap::const_iterator it =
@@ -48,12 +47,11 @@ class JSTypeFeedbackTable : public ZoneObject {
: it->second;
}
- FeedbackVectorICSlot FindFeedbackVectorICSlot(Node* node) {
- FeedbackVectorICSlotMap::const_iterator it =
- feedback_vector_ic_slot_map_.find(node->id());
- return it == feedback_vector_ic_slot_map_.end()
- ? FeedbackVectorICSlot::Invalid()
- : it->second;
+ FeedbackVectorSlot FindFeedbackVectorSlot(Node* node) {
+ FeedbackVectorSlotMap::const_iterator it =
+ feedback_vector_slot_map_.find(node->id());
+ return it == feedback_vector_slot_map_.end() ? FeedbackVectorSlot::Invalid()
+ : it->second;
}
};
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/js-type-feedback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698