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:
542d991
)
Really, there was a reason for me factoring that out
author
Chris Lattner
<sabre@nondot.org>
Wed, 19 Nov 2003 19:20:20 +0000
(19:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 19 Nov 2003 19:20:20 +0000
(19:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10089
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Type.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Type.cpp
b/lib/VMCore/Type.cpp
index 4796ad2496da0dfdad650e194436a7b2356ca6c7..dd20b16987e04aadaed8a9e631fb0deb51a1ba73 100644
(file)
--- a/
lib/VMCore/Type.cpp
+++ b/
lib/VMCore/Type.cpp
@@
-619,7
+619,7
@@
public:
// efficient lookup in the map, instead of an inefficient nasty linear
// lookup.
if (!HasTypeCycle) {
- iterator I = Map.find(
ValType::get(Ty)
);
+ iterator I = Map.find(
Key
);
if (I != Map.end()) {
// We already have this type in the table. Get rid of the newly refined
// type.