mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
remove the JIT "NeedsExactSize" feature and supporting logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109167 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user