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

Unified Diff: runtime/vm/code_descriptors.h

Issue 26345002: Last cleanup int -> intptr_t. Also removed a hack. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/vm/block_scheduler.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors.h
===================================================================
--- runtime/vm/code_descriptors.h (revision 28370)
+++ runtime/vm/code_descriptors.h (working copy)
@@ -37,22 +37,22 @@
return list_.length();
}
- intptr_t PcOffset(int index) const {
+ intptr_t PcOffset(intptr_t index) const {
return list_[index].pc_offset;
}
- PcDescriptors::Kind Kind(int index) const {
+ PcDescriptors::Kind Kind(intptr_t index) const {
return list_[index].kind;
}
- intptr_t DeoptId(int index) const {
+ intptr_t DeoptId(intptr_t index) const {
return list_[index].deopt_id;
}
- intptr_t TokenPos(int index) const {
+ intptr_t TokenPos(intptr_t index) const {
return list_[index].TokenPos();
}
- DeoptReasonId DeoptReason(int index) const {
+ DeoptReasonId DeoptReason(intptr_t index) const {
return list_[index].DeoptReason();
}
- intptr_t TryIndex(int index) const {
+ intptr_t TryIndex(intptr_t index) const {
return list_[index].try_index;
}
@@ -88,7 +88,7 @@
private:
intptr_t Length() const { return list_.Length(); }
- RawStackmap* MapAt(int index) const;
+ RawStackmap* MapAt(intptr_t index) const;
Stackmap& stack_map_;
GrowableObjectArray& list_;
« no previous file with comments | « runtime/vm/block_scheduler.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698