]> git.proxmox.com Git - rustc.git/blobdiff - src/llvm/lib/CodeGen/LiveStackAnalysis.cpp
Imported Upstream version 1.0.0+dfsg1
[rustc.git] / src / llvm / lib / CodeGen / LiveStackAnalysis.cpp
index 68636609584a006a35babcb1f5d6dfc27ab2dc93..8a6ac251ab2d9da6cce9648c1c6d7a9b5377da99 100644 (file)
@@ -81,7 +81,7 @@ void LiveStacks::print(raw_ostream &OS, const Module*) const {
     int Slot = I->first;
     const TargetRegisterClass *RC = getIntervalRegClass(Slot);
     if (RC)
-      OS << " [" << RC->getName() << "]\n";
+      OS << " [" << TRI->getRegClassName(RC) << "]\n";
     else
       OS << " [Unknown]\n";
   }