Index: src/ppc/assembler-ppc-inl.h |
diff --git a/src/ppc/assembler-ppc-inl.h b/src/ppc/assembler-ppc-inl.h |
index 494199577036042d66b73854adbe10d597a56498..216650c2f4fe45a0f962710178202f85bf243393 100644 |
--- a/src/ppc/assembler-ppc-inl.h |
+++ b/src/ppc/assembler-ppc-inl.h |
@@ -477,9 +477,9 @@ Address Assembler::target_address_at(Address pc, Address constant_pool) { |
#if V8_TARGET_ARCH_PPC64 |
-const int kLoadIntptrOpcode = LD; |
+const uint32_t kLoadIntptrOpcode = LD; |
#else |
-const int kLoadIntptrOpcode = LWZ; |
+const uint32_t kLoadIntptrOpcode = LWZ; |
#endif |
// Constant pool load sequence detection: |
@@ -492,7 +492,7 @@ const int kLoadIntptrOpcode = LWZ; |
bool Assembler::IsConstantPoolLoadStart(Address pc, |
ConstantPoolEntry::Access* access) { |
Instr instr = instr_at(pc); |
- int opcode = instr & kOpcodeMask; |
+ uint32_t opcode = instr & kOpcodeMask; |
if (!GetRA(instr).is(kConstantPoolRegister)) return false; |
bool overflowed = (opcode == ADDIS); |
#ifdef DEBUG |
@@ -512,7 +512,7 @@ bool Assembler::IsConstantPoolLoadStart(Address pc, |
bool Assembler::IsConstantPoolLoadEnd(Address pc, |
ConstantPoolEntry::Access* access) { |
Instr instr = instr_at(pc); |
- int opcode = instr & kOpcodeMask; |
+ uint32_t opcode = instr & kOpcodeMask; |
bool overflowed = false; |
if (!(opcode == kLoadIntptrOpcode || opcode == LFD)) return false; |
if (!GetRA(instr).is(kConstantPoolRegister)) { |