diff options
Diffstat (limited to 'compiler/utils/arm')
-rw-r--r-- | compiler/utils/arm/assembler_arm.cc | 2 | ||||
-rw-r--r-- | compiler/utils/arm/assembler_arm.h | 2 | ||||
-rw-r--r-- | compiler/utils/arm/assembler_arm32.h | 2 | ||||
-rw-r--r-- | compiler/utils/arm/assembler_thumb2.h | 2 | ||||
-rw-r--r-- | compiler/utils/arm/constants_arm.h | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/compiler/utils/arm/assembler_arm.cc b/compiler/utils/arm/assembler_arm.cc index 637a1ff..b430c7e 100644 --- a/compiler/utils/arm/assembler_arm.cc +++ b/compiler/utils/arm/assembler_arm.cc @@ -386,7 +386,7 @@ bool Address::CanHoldStoreOffsetThumb(StoreOperandType type, int offset) { void ArmAssembler::Pad(uint32_t bytes) { AssemblerBuffer::EnsureCapacity ensured(&buffer_); for (uint32_t i = 0; i < bytes; ++i) { - buffer_.Emit<byte>(0); + buffer_.Emit<uint8_t>(0); } } diff --git a/compiler/utils/arm/assembler_arm.h b/compiler/utils/arm/assembler_arm.h index 54965f6..14d48b7 100644 --- a/compiler/utils/arm/assembler_arm.h +++ b/compiler/utils/arm/assembler_arm.h @@ -600,7 +600,7 @@ class ArmAssembler : public Assembler { virtual void Ror(Register rd, Register rm, Register rn, bool setcc = false, Condition cond = AL) = 0; - static bool IsInstructionForExceptionHandling(uword pc); + static bool IsInstructionForExceptionHandling(uintptr_t pc); virtual void Bind(Label* label) = 0; diff --git a/compiler/utils/arm/assembler_arm32.h b/compiler/utils/arm/assembler_arm32.h index 7f9094d..c89fd04 100644 --- a/compiler/utils/arm/assembler_arm32.h +++ b/compiler/utils/arm/assembler_arm32.h @@ -273,7 +273,7 @@ class Arm32Assembler FINAL : public ArmAssembler { Condition cond = AL) OVERRIDE; - static bool IsInstructionForExceptionHandling(uword pc); + static bool IsInstructionForExceptionHandling(uintptr_t pc); // Emit data (e.g. encoded instruction or immediate) to the // instruction stream. diff --git a/compiler/utils/arm/assembler_thumb2.h b/compiler/utils/arm/assembler_thumb2.h index ee33bf2..9e7d394 100644 --- a/compiler/utils/arm/assembler_thumb2.h +++ b/compiler/utils/arm/assembler_thumb2.h @@ -303,7 +303,7 @@ class Thumb2Assembler FINAL : public ArmAssembler { Condition cond = AL) OVERRIDE; - static bool IsInstructionForExceptionHandling(uword pc); + static bool IsInstructionForExceptionHandling(uintptr_t pc); // Emit data (e.g. encoded instruction or immediate) to the. // instruction stream. diff --git a/compiler/utils/arm/constants_arm.h b/compiler/utils/arm/constants_arm.h index 3e4cd43..092c891 100644 --- a/compiler/utils/arm/constants_arm.h +++ b/compiler/utils/arm/constants_arm.h @@ -223,7 +223,7 @@ typedef uint16_t RegList; // Example: Test whether the instruction at ptr does set the condition code // bits. // -// bool InstructionSetsConditionCodes(byte* ptr) { +// bool InstructionSetsConditionCodes(uint8_t* ptr) { // Instr* instr = Instr::At(ptr); // int type = instr->TypeField(); // return ((type == 0) || (type == 1)) && instr->HasS(); @@ -435,7 +435,7 @@ class Instr { // reference to an instruction is to convert a pointer. There is no way // to allocate or create instances of class Instr. // Use the At(pc) function to create references to Instr. - static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } + static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } Instr* Next() { return this + kInstrSize; } private: |