Fix warning on SparcV9, where sizeof (int) != sizeof (void *).

llvm-svn: 14786
This commit is contained in:
Brian Gaeke
2004-07-13 07:37:43 +00:00
parent cc459c9d66
commit b88d2a44f9

View File

@@ -410,7 +410,7 @@ Value* BytecodeReader::getGlobalTableValue(const Type *Ty, unsigned SlotNo) {
error("Corrupt compaction table entry!"
+ utostr(TyID) + ", " + utostr(SlotNo) + ": "
+ utostr(ModuleValues.size()) + ", "
+ utohexstr(int((void*)ModuleValues[TyID])) + ", "
+ utohexstr(intptr_t((void*)ModuleValues[TyID])) + ", "
+ utostr(ModuleValues[TyID]->size()));
}
return ModuleValues[TyID]->getOperand(SlotNo);