mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +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:
@ -63,9 +63,6 @@ namespace llvm {
|
|||||||
/// allocatableRegs_ - A bit vector of allocatable registers.
|
/// allocatableRegs_ - A bit vector of allocatable registers.
|
||||||
BitVector allocatableRegs_;
|
BitVector allocatableRegs_;
|
||||||
|
|
||||||
/// CloneMIs - A list of clones as result of re-materialization.
|
|
||||||
std::vector<MachineInstr*> CloneMIs;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static char ID; // Pass identification, replacement for typeid
|
static char ID; // Pass identification, replacement for typeid
|
||||||
LiveIntervals() : MachineFunctionPass(ID) {
|
LiveIntervals() : MachineFunctionPass(ID) {
|
||||||
|
@ -99,11 +99,6 @@ void LiveIntervals::releaseMemory() {
|
|||||||
|
|
||||||
// Release VNInfo memory regions, VNInfo objects don't need to be dtor'd.
|
// Release VNInfo memory regions, VNInfo objects don't need to be dtor'd.
|
||||||
VNInfoAllocator.Reset();
|
VNInfoAllocator.Reset();
|
||||||
while (!CloneMIs.empty()) {
|
|
||||||
MachineInstr *MI = CloneMIs.back();
|
|
||||||
CloneMIs.pop_back();
|
|
||||||
mf_->DeleteMachineInstr(MI);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// runOnMachineFunction - Register allocate the whole function
|
/// runOnMachineFunction - Register allocate the whole function
|
||||||
|
Reference in New Issue
Block a user