This file just needs LiveRange.h not IGNode.h
[oota-llvm.git] / lib / Target / SparcV9 / SparcV9RegInfo.cpp
index cd8e1e2860b00f42af4af22a51f8ec851a4d2265..355f04d7ce8dfa89f4c1faa7fff82b0a1f4c35c5 100644 (file)
@@ -14,7 +14,7 @@
 #include "llvm/CodeGen/MachineCodeForInstruction.h"
 #include "llvm/CodeGen/MachineInstrAnnot.h"
 #include "llvm/CodeGen/LiveRangeInfo.h"
-#include "llvm/CodeGen/IGNode.h"
+#include "llvm/CodeGen/LiveRange.h"
 #include "llvm/iTerminators.h"
 #include "llvm/iOther.h"
 #include "llvm/Function.h"
@@ -941,7 +941,7 @@ UltraSparcRegInfo::cpValue2Value(Value *Src, Value *Dest,
 
 void UltraSparcRegInfo::printReg(const LiveRange *LR) const {
   unsigned RegClassID = LR->getRegClassID();
-  std::cerr << " *Node " << (LR->getUserIGNode())->getIndex();
+  std::cerr << " Node ";
 
   if (!LR->hasColor()) {
     std::cerr << " - could not find a color\n";