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:
40beb40
)
Shut up a warning about signed/unsigned.
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 11 Jan 2007 07:58:19 +0000
(07:58 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Thu, 11 Jan 2007 07:58:19 +0000
(07:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33071
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 181f8e68c6166252b861e21902922cf6812c5aae..a00b19edc96e3ca83a331a36d0d150bd6c0b535d 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-1495,7
+1495,7
@@
int SlotMachine::getGlobalSlot(const GlobalValue *V) {
// Lookup the value in the module plane's map.
ValueMap::const_iterator MVI = MI->second.map.find(V);
- return MVI != MI->second.map.end() ?
MVI->second
: -1;
+ return MVI != MI->second.map.end() ?
int(MVI->second)
: -1;
}