This file just needs LiveRange.h not IGNode.h
llvm-svn: 8293
diff --git a/llvm/lib/Target/Sparc/SparcRegInfo.cpp b/llvm/lib/Target/Sparc/SparcRegInfo.cpp
index cd8e1e2..355f04d 100644
--- a/llvm/lib/Target/Sparc/SparcRegInfo.cpp
+++ b/llvm/lib/Target/Sparc/SparcRegInfo.cpp
@@ -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 @@
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";