Turn a use of intptr_t into a reinterpret_cast<uint64_t> instead to get
rid of compilation warnings on some platforms. llvm-svn: 15512
This commit is contained in:
@@ -462,7 +462,8 @@ Value* BytecodeReader::getGlobalTableValue(unsigned TyID, unsigned SlotNo) {
|
||||
error("Corrupt compaction table entry!"
|
||||
+ utostr(TyID) + ", " + utostr(SlotNo) + ": "
|
||||
+ utostr(ModuleValues.size()) + ", "
|
||||
+ utohexstr(intptr_t((void*)ModuleValues[TyID])) + ", "
|
||||
+ utohexstr(reinterpret_cast<uint64_t>(((void*)ModuleValues[TyID])))
|
||||
+ ", "
|
||||
+ utostr(ModuleValues[TyID]->size()));
|
||||
}
|
||||
return ModuleValues[TyID]->getOperand(SlotNo);
|
||||
|
||||
Reference in New Issue
Block a user