diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:55:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:55:25 +0000 |
| commit | 82baa9c39411ee5bf1a035742cc2ff69bc40641b (patch) | |
| tree | 08213ed8d00773acba336116258681156abad4e5 /llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h | |
| parent | 535e8db0dafd8fde898be08e889aee63536ddefe (diff) | |
| download | bcm5719-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.h | 2 |
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() { } |

