llvm.org GIT mirror llvm / 4a6a6f2
Fix PR1797 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45736 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 11 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
334334 for (std::vector::const_iterator I = BBs.begin(), E = BBs.end();
335335 I != E; ++I) {
336336 BasicBlock *BB = *I;
337 // If the BB doesn't have a name, give it one so we have something to key
338 // off of.
339 if (!BB->hasName()) BB->setName("tmpbb");
337340 BlocksToNotExtractFile << BB->getParent()->getName() << " "
338341 << BB->getName() << "\n";
339342 }