This file just needs LiveRange.h not IGNode.h
authorChris Lattner <sabre@nondot.org>
Mon, 1 Sep 2003 19:58:02 +0000 (19:58 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 1 Sep 2003 19:58:02 +0000 (19:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8293 91177308-0d34-0410-b5e6-96231b3b80d8

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";