CodeGen: Stop using DIDescriptor::is*() and auto-casting

Same as r234255, but for lib/CodeGen and lib/Target.

llvm-svn: 234258
This commit is contained in:
Duncan P. N. Exon Smith
2015-04-06 23:27:40 +00:00
parent 6186fb2cd0
commit e686f1591f
22 changed files with 143 additions and 167 deletions

View File

@@ -464,7 +464,7 @@ void StackColoring::remapInstructions(DenseMap<int, int> &SlotRemap) {
continue;
if (SlotRemap.count(VI.Slot)) {
DEBUG(dbgs() << "Remapping debug info for ["
<< DIVariable(VI.Var).getName() << "].\n");
<< cast<MDLocalVariable>(VI.Var)->getName() << "].\n");
VI.Slot = SlotRemap[VI.Slot];
FixedDbg++;
}