Reorder methods alphabetically. No functionality change.
[oota-llvm.git] / lib / CodeGen / LiveInterval.cpp
index 24081b99c0e4cae49672694e8f93b8d19562fa7d..0f5de9257a71959db4bb67e3743a9d0638c28692 100644 (file)
@@ -678,8 +678,8 @@ void LiveRange::dump() const {
 
 void LiveInterval::print(std::ostream &OS,
                          const TargetRegisterInfo *TRI) const {
-  if (isSS)
-    OS << "SS#" << reg;
+  if (isStackSlot())
+    OS << "SS#" << getStackSlotIndex();
   else if (TRI && TargetRegisterInfo::isPhysicalRegister(reg))
     OS << TRI->getName(reg);
   else