mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 22:04:10 +00:00
Delete some dead code.
llvm-svn: 149717
This commit is contained in:
parent
a6e543e80b
commit
d29f6d792b
@ -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