mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42a77880a8
commit
527c250a90
@ -261,7 +261,7 @@ unsigned RegScavenger::scavengeRegister(const TargetRegisterClass *RC,
|
||||
Candidates.reset(MO.getReg());
|
||||
}
|
||||
|
||||
// Find the register whose use is furtherest aaway.
|
||||
// Find the register whose use is furthest away.
|
||||
unsigned SReg = 0;
|
||||
unsigned MaxDist = 0;
|
||||
int Reg = Candidates.find_first();
|
||||
@ -277,7 +277,7 @@ unsigned RegScavenger::scavengeRegister(const TargetRegisterClass *RC,
|
||||
if (ScavengedReg != 0) {
|
||||
// First restore previously scavenged register.
|
||||
TII->loadRegFromStackSlot(*MBB, I, ScavengedReg,
|
||||
ScavengingFrameIndex, ScavengedRC);
|
||||
ScavengingFrameIndex, ScavengedRC);
|
||||
MachineBasicBlock::iterator II = prior(I);
|
||||
RegInfo->eliminateFrameIndex(II, SPAdj, this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user