summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-02 05:55:25 +0000
committerChris Lattner <sabre@nondot.org>2004-06-02 05:55:25 +0000
commit82baa9c39411ee5bf1a035742cc2ff69bc40641b (patch)
tree08213ed8d00773acba336116258681156abad4e5 /llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
parent535e8db0dafd8fde898be08e889aee63536ddefe (diff)
downloadbcm5719-llvm-82baa9c39411ee5bf1a035742cc2ff69bc40641b.tar.gz
bcm5719-llvm-82baa9c39411ee5bf1a035742cc2ff69bc40641b.zip
Convert to the new TargetMachine interface.
llvm-svn: 13952
Diffstat (limited to 'llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h')
-rw-r--r--llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
index 9e6070f9f47..65cc2e1f909 100644
--- a/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
+++ b/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h
@@ -93,7 +93,7 @@ public:
typedef std::map<const Function *, std::vector<AllocInfo> > SavedStateMapTy;
inline PhyRegAlloc (const TargetMachine &TM_) :
- TM (TM_), MRI (TM.getRegInfo ()),
+ TM (TM_), MRI (*TM.getRegInfo ()),
NumOfRegClasses (MRI.getNumOfRegClasses ()) { }
virtual ~PhyRegAlloc() { }
OpenPOWER on IntegriCloud