DebugLoc's don't hide any interesting types for TypeFinder to find.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2011-07-14 18:58:40 +00:00
parent 4baa510f48
commit 939f616e63

View File

@ -478,7 +478,7 @@ namespace {
incorporateValue(*OI);
// Incorporate types hiding in metadata.
I.getAllMetadata(MDForInst);
I.getAllMetadataOtherThanDebugLoc(MDForInst);
for (unsigned i = 0, e = MDForInst.size(); i != e; ++i)
incorporateMDNode(MDForInst[i].second);
MDForInst.clear();