| Index: runtime/vm/assembler_mips.h
|
| ===================================================================
|
| --- runtime/vm/assembler_mips.h (revision 28314)
|
| +++ runtime/vm/assembler_mips.h (working copy)
|
| @@ -101,7 +101,7 @@
|
|
|
| // Returns the position for bound and linked labels. Cannot be used
|
| // for unused labels.
|
| - int Position() const {
|
| + intptr_t Position() const {
|
| ASSERT(!IsUnused());
|
| return IsBound() ? -position_ - kWordSize : position_ - kWordSize;
|
| }
|
| @@ -111,19 +111,19 @@
|
| bool IsLinked() const { return position_ > 0; }
|
|
|
| private:
|
| - int position_;
|
| + intptr_t position_;
|
|
|
| void Reinitialize() {
|
| position_ = 0;
|
| }
|
|
|
| - void BindTo(int position) {
|
| + void BindTo(intptr_t position) {
|
| ASSERT(!IsBound());
|
| position_ = -position - kWordSize;
|
| ASSERT(IsBound());
|
| }
|
|
|
| - void LinkTo(int position) {
|
| + void LinkTo(intptr_t position) {
|
| ASSERT(!IsBound());
|
| position_ = position + kWordSize;
|
| ASSERT(IsLinked());
|
| @@ -160,9 +160,9 @@
|
| void Bind(Label* label);
|
|
|
| // Misc. functionality
|
| - int CodeSize() const { return buffer_.Size(); }
|
| - int prologue_offset() const { return prologue_offset_; }
|
| - const ZoneGrowableArray<int>& GetPointerOffsets() const {
|
| + intptr_t CodeSize() const { return buffer_.Size(); }
|
| + intptr_t prologue_offset() const { return prologue_offset_; }
|
| + const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const {
|
| return buffer_.pointer_offsets();
|
| }
|
| const GrowableObjectArray& object_pool() const { return object_pool_; }
|
| @@ -206,7 +206,7 @@
|
| void Untested(const char* message);
|
| void Unreachable(const char* message);
|
|
|
| - static void InitializeMemoryWithBreakpoints(uword data, int length);
|
| + static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
|
|
|
| void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
|
|
|
| @@ -1130,7 +1130,7 @@
|
| private:
|
| AssemblerBuffer buffer_;
|
| GrowableObjectArray& object_pool_; // Objects and patchable jump targets.
|
| - int prologue_offset_;
|
| + intptr_t prologue_offset_;
|
|
|
| const bool use_far_branches_;
|
| bool delay_slot_available_;
|
|
|