mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Fix warning on SparcV9, where sizeof (int) != sizeof (void *).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -410,7 +410,7 @@ Value* BytecodeReader::getGlobalTableValue(const Type *Ty, unsigned SlotNo) {
|
|||||||
error("Corrupt compaction table entry!"
|
error("Corrupt compaction table entry!"
|
||||||
+ utostr(TyID) + ", " + utostr(SlotNo) + ": "
|
+ utostr(TyID) + ", " + utostr(SlotNo) + ": "
|
||||||
+ utostr(ModuleValues.size()) + ", "
|
+ utostr(ModuleValues.size()) + ", "
|
||||||
+ utohexstr(int((void*)ModuleValues[TyID])) + ", "
|
+ utohexstr(intptr_t((void*)ModuleValues[TyID])) + ", "
|
||||||
+ utostr(ModuleValues[TyID]->size()));
|
+ utostr(ModuleValues[TyID]->size()));
|
||||||
}
|
}
|
||||||
return ModuleValues[TyID]->getOperand(SlotNo);
|
return ModuleValues[TyID]->getOperand(SlotNo);
|
||||||
|
Reference in New Issue
Block a user