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

Unified Diff: src/compiler/js-operator.h

Issue 641373002: Introduce FeedbackVectorSlot type - better than int. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 years, 2 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-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-operator.h
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h
index 3f94ff679b71b909cbce0fb3e75685e2c5ee2193..8cd9fc7605f8b9327263a98304d5ae36e9cc2c09 100644
--- a/src/compiler/js-operator.h
+++ b/src/compiler/js-operator.h
@@ -98,15 +98,15 @@ ContextAccess const& ContextAccessOf(Operator const*);
class VectorSlotPair {
public:
- VectorSlotPair(Handle<TypeFeedbackVector> vector, int slot)
+ VectorSlotPair(Handle<TypeFeedbackVector> vector, FeedbackVectorSlot slot)
: vector_(vector), slot_(slot) {}
Handle<TypeFeedbackVector> vector() const { return vector_; }
- int slot() const { return slot_; }
+ FeedbackVectorSlot slot() const { return slot_; }
private:
const Handle<TypeFeedbackVector> vector_;
- const int slot_;
+ const FeedbackVectorSlot slot_;
};
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698