mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 17:31:33 +00:00
Delete some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149717 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
769422f0fc
commit
d491da3f93
@ -63,9 +63,6 @@ namespace llvm {
|
||||
/// allocatableRegs_ - A bit vector of allocatable registers.
|
||||
BitVector allocatableRegs_;
|
||||
|
||||
/// CloneMIs - A list of clones as result of re-materialization.
|
||||
std::vector<MachineInstr*> CloneMIs;
|
||||
|
||||
public:
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
LiveIntervals() : MachineFunctionPass(ID) {
|
||||
|
@ -99,11 +99,6 @@ void LiveIntervals::releaseMemory() {
|
||||
|
||||
// Release VNInfo memory regions, VNInfo objects don't need to be dtor'd.
|
||||
VNInfoAllocator.Reset();
|
||||
while (!CloneMIs.empty()) {
|
||||
MachineInstr *MI = CloneMIs.back();
|
||||
CloneMIs.pop_back();
|
||||
mf_->DeleteMachineInstr(MI);
|
||||
}
|
||||
}
|
||||
|
||||
/// runOnMachineFunction - Register allocate the whole function
|
||||
|
Loading…
x
Reference in New Issue
Block a user