Clear list of instructions without DebugLoc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2011-05-23 17:34:18 +00:00
parent fcc482e487
commit 88c62fc1b4

View File

@ -65,6 +65,7 @@ void DebugInfoProbeImpl::initialize(StringRef PName, Function &F) {
PassName = PName;
DbgVariables.clear();
MissingDebugLoc.clear();
TheFn = &F;
for (Function::iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI)