diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-07-22 21:17:55 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-07-22 21:17:55 +0000 |
| commit | 8f3adc9057dc482ced6a39c4e34f55f883d55262 (patch) | |
| tree | b292c89d4ca26732cef62857001534eba579e9af /llvm/lib/CodeGen | |
| parent | dab6888bb1339dd6d259202223c93c0433223f58 (diff) | |
| download | bcm5719-llvm-8f3adc9057dc482ced6a39c4e34f55f883d55262.tar.gz bcm5719-llvm-8f3adc9057dc482ced6a39c4e34f55f883d55262.zip | |
remove the JIT "NeedsExactSize" feature and supporting logic.
llvm-svn: 109167
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/TargetInstrInfoImpl.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp index cdacb98e0e8..6e4a0d837ec 100644 --- a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp +++ b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp @@ -178,19 +178,6 @@ MachineInstr *TargetInstrInfoImpl::duplicate(MachineInstr *Orig, return MF.CloneMachineInstr(Orig); } -unsigned -TargetInstrInfoImpl::GetFunctionSizeInBytes(const MachineFunction &MF) const { - unsigned FnSize = 0; - for (MachineFunction::const_iterator MBBI = MF.begin(), E = MF.end(); - MBBI != E; ++MBBI) { - const MachineBasicBlock &MBB = *MBBI; - for (MachineBasicBlock::const_iterator I = MBB.begin(),E = MBB.end(); - I != E; ++I) - FnSize += GetInstSizeInBytes(I); - } - return FnSize; -} - // If the COPY instruction in MI can be folded to a stack operation, return // the register class to use. static const TargetRegisterClass *canFoldCopy(const MachineInstr *MI, |

