Clear list of instructions without DebugLoc.

llvm-svn: 131906
This commit is contained in:
Devang Patel 2011-05-23 17:34:18 +00:00
parent f0f143e31d
commit 0f6b46b826
1 changed files with 1 additions and 0 deletions

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)