projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ab6bf
)
Fix warning on SparcV9, where sizeof (int) != sizeof (void *).
author
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 13 Jul 2004 07:37:43 +0000
(07:37 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 13 Jul 2004 07:37:43 +0000
(07:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14786
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/Reader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/Reader.cpp
b/lib/Bytecode/Reader/Reader.cpp
index fda3721d83e467450da7edad70581d5c8d01370e..d71281ed7d9bb6eedc2469124167dfd3d2ee0cb4 100644
(file)
--- a/
lib/Bytecode/Reader/Reader.cpp
+++ b/
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(int
ptr_t
((void*)ModuleValues[TyID])) + ", "
+ utostr(ModuleValues[TyID]->size()));
}
return ModuleValues[TyID]->getOperand(SlotNo);