Use .size and .type on ELF systems; this helps tools that map
[oota-llvm.git] / lib / Target / ARM / ARMCodeEmitter.cpp
index 56fc55315f706ae74c1ff92b018e6ddd50a4bf4b..c27fc5f1eafff4d3edf52f82d3a539030c8a57f0 100644 (file)
@@ -1078,7 +1078,7 @@ void ARMCodeEmitter::emitBranchInstruction(const MachineInstr &MI) {
 
 void ARMCodeEmitter::emitInlineJumpTable(unsigned JTIndex) {
   // Remember the base address of the inline jump table.
-  intptr_t JTBase = MCE.getCurrentPCValue();
+  uintptr_t JTBase = MCE.getCurrentPCValue();
   JTI->addJumpTableBaseAddr(JTIndex, JTBase);
   DOUT << "  ** Jump Table #" << JTIndex << " @ " << (void*)JTBase << '\n';