diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-13 07:37:43 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-13 07:37:43 +0000 |
commit | b88d2a44f9a93849df1e16ebae9ef36bd5d171ed (patch) | |
tree | 1f6395aff2842c5ed5f3c24b07c81ec43b59c05b /llvm/lib/Bytecode/Reader/Reader.cpp | |
parent | cc459c9d667fb90949a99ecd3b4d746569bd293f (diff) | |
download | bcm5719-llvm-b88d2a44f9a93849df1e16ebae9ef36bd5d171ed.tar.gz bcm5719-llvm-b88d2a44f9a93849df1e16ebae9ef36bd5d171ed.zip |
Fix warning on SparcV9, where sizeof (int) != sizeof (void *).
llvm-svn: 14786
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Reader.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Reader/Reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.cpp b/llvm/lib/Bytecode/Reader/Reader.cpp index fda3721d83e..d71281ed7d9 100644 --- a/llvm/lib/Bytecode/Reader/Reader.cpp +++ b/llvm/lib/Bytecode/Reader/Reader.cpp @@ -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); |