Convert to the new TargetMachine interface.
llvm-svn: 13952
diff --git a/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp b/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
index 40f753b..a5c3f0f 100644
--- a/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
+++ b/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
@@ -41,7 +41,7 @@
 
   public:
     PreSelection(const TargetMachine &T)
-      : instrInfo(T.getInstrInfo()) {}
+      : instrInfo(*T.getInstrInfo()) {}
 
     // runOnFunction - apply this pass to each Function
     bool runOnFunction(Function &F) {