mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
misched interface: rename Begin/End to RegionBegin/RegionEnd since they are not private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152382 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -275,7 +275,7 @@ void ScheduleTopDownLive::schedule() {
|
||||
releaseNode(&(*I));
|
||||
}
|
||||
|
||||
MachineBasicBlock::iterator InsertPos = Begin;
|
||||
MachineBasicBlock::iterator InsertPos = RegionBegin;
|
||||
while (SUnit *SU = pickNode()) {
|
||||
DEBUG(dbgs() << "*** Scheduling Instruction:\n"; SU->dump(this));
|
||||
|
||||
@ -286,8 +286,8 @@ void ScheduleTopDownLive::schedule() {
|
||||
else {
|
||||
BB->splice(InsertPos, BB, MI);
|
||||
LIS->handleMove(MI);
|
||||
if (Begin == InsertPos)
|
||||
Begin = MI;
|
||||
if (RegionBegin == InsertPos)
|
||||
RegionBegin = MI;
|
||||
}
|
||||
|
||||
// Release dependent instructions for scheduling.
|
||||
|
Reference in New Issue
Block a user