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

llvm-svn: 135174
This commit is contained in:
Chris Lattner 2011-07-14 18:58:40 +00:00
parent 8f29491ffd
commit 4cc3bcd575
1 changed files with 1 additions and 1 deletions

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();