OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f6e9ab
)
fix off-by one
author
Chris Lattner
<sabre@nondot.org>
Mon, 23 Apr 2007 21:23:41 +0000
(21:23 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 23 Apr 2007 21:23:41 +0000
(21:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36377
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Writer/ValueEnumerator.h
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Writer/ValueEnumerator.h
b/lib/Bitcode/Writer/ValueEnumerator.h
index
f407a26
..
89f64f4
100644
(file)
--- a/
lib/Bitcode/Writer/ValueEnumerator.h
+++ b/
lib/Bitcode/Writer/ValueEnumerator.h
@@
-54,7
+54,7
@@
public:
unsigned getValueID(const Value *V) const {
ValueMapType::const_iterator I = ValueMap.find(V);
assert(I != ValueMap.end() && "Value not in slotcalculator!");
- return I->second;
+ return I->second
-1
;
}
unsigned getTypeID(const Type *T) const {