mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-21 03:32:29 +00:00
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e29e8e100e
commit
ee1f87881b
@ -265,7 +265,6 @@ namespace llvm {
|
||||
bool isCloned : 1; // True if this node has been cloned.
|
||||
Sched::Preference SchedulingPref; // Scheduling preference.
|
||||
|
||||
SmallVector<MachineInstr*, 4> DbgInstrList; // dbg_values referencing this.
|
||||
private:
|
||||
bool isDepthCurrent : 1; // True if Depth is current.
|
||||
bool isHeightCurrent : 1; // True if Height is current.
|
||||
|
@ -670,16 +670,11 @@ MachineBasicBlock *ScheduleDAGInstrs::EmitSchedule() {
|
||||
|
||||
// Then re-insert them according to the given schedule.
|
||||
for (unsigned i = 0, e = Sequence.size(); i != e; i++) {
|
||||
SUnit *SU = Sequence[i];
|
||||
if (!SU) {
|
||||
if (SUnit *SU = Sequence[i])
|
||||
BB->insert(InsertPos, SU->getInstr());
|
||||
else
|
||||
// Null SUnit* is a noop.
|
||||
EmitNoop();
|
||||
continue;
|
||||
}
|
||||
|
||||
BB->insert(InsertPos, SU->getInstr());
|
||||
for (unsigned i = 0, e = SU->DbgInstrList.size() ; i < e ; ++i)
|
||||
BB->insert(InsertPos, SU->DbgInstrList[i]);
|
||||
}
|
||||
|
||||
// Update the Begin iterator, as the first instruction in the block
|
||||
|
Loading…
x
Reference in New Issue
Block a user