Really, there was a reason for me factoring that out

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-19 19:20:20 +00:00
parent 542d991451
commit bb4a15ca57

View File

@ -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.