diff options
| author | Eric Christopher <echristo@gmail.com> | 2014-06-27 01:14:50 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2014-06-27 01:14:50 +0000 |
| commit | 72a5b2a14e2e1b2bda5205e7634c070e221ec7f7 (patch) | |
| tree | b048ca1cc72fea88e050fca429501911bda4ee6e /llvm/lib/Target/MSP430/MSP430RegisterInfo.h | |
| parent | 360096e701b5416b73d72ab764e05fd83a35ca7e (diff) | |
| download | bcm5719-llvm-72a5b2a14e2e1b2bda5205e7634c070e221ec7f7.tar.gz bcm5719-llvm-72a5b2a14e2e1b2bda5205e7634c070e221ec7f7.zip | |
Remove uses and caches of the target machine and subtarget from
both MSP430InstrInfo and MSP430RegisterInfo. Remove unused member
variable StackAlign from MSP430RegisterInfo. Update constructors
accordingly.
llvm-svn: 211835
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430RegisterInfo.h')
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430RegisterInfo.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h index a607528fd11..cb0196134a8 100644 --- a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h +++ b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h @@ -21,18 +21,9 @@ namespace llvm { -class TargetInstrInfo; -class MSP430TargetMachine; - struct MSP430RegisterInfo : public MSP430GenRegisterInfo { -private: - MSP430TargetMachine &TM; - - /// StackAlign - Default stack alignment. - /// - unsigned StackAlign; public: - MSP430RegisterInfo(MSP430TargetMachine &tm); + MSP430RegisterInfo(); /// Code Generation virtual methods... const MCPhysReg * |

