diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-01-30 23:46:43 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-01-30 23:46:43 +0000 |
| commit | f5e9406243257c0b2c1f28bf258262b7b05c4dbf (patch) | |
| tree | 7ad5a4e4ba371470e3a2e30bfc91d3776f5a6e77 /llvm/lib/Target/Sparc/SparcSubtarget.cpp | |
| parent | 1e5133445918c2db16f2995e036a3aa92f67cbbe (diff) | |
| download | bcm5719-llvm-f5e9406243257c0b2c1f28bf258262b7b05c4dbf.tar.gz bcm5719-llvm-f5e9406243257c0b2c1f28bf258262b7b05c4dbf.zip | |
Reuse a bunch of cached subtargets and remove getSubtarget calls
without a Function argument.
llvm-svn: 227644
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcSubtarget.cpp')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcSubtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcSubtarget.cpp b/llvm/lib/Target/Sparc/SparcSubtarget.cpp index 1fd3eaf0571..ce1105f2d72 100644 --- a/llvm/lib/Target/Sparc/SparcSubtarget.cpp +++ b/llvm/lib/Target/Sparc/SparcSubtarget.cpp @@ -53,7 +53,7 @@ SparcSubtarget::SparcSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, TargetMachine &TM, bool is64Bit) : SparcGenSubtargetInfo(TT, CPU, FS), Is64Bit(is64Bit), - InstrInfo(initializeSubtargetDependencies(CPU, FS)), TLInfo(TM), + InstrInfo(initializeSubtargetDependencies(CPU, FS)), TLInfo(TM, *this), TSInfo(*TM.getDataLayout()), FrameLowering(*this) {} int SparcSubtarget::getAdjustedFrameSize(int frameSize) const { |

