summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocFast.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-07-16 18:51:40 +0000
committerFangrui Song <maskray@google.com>2018-07-16 18:51:40 +0000
commitcb0bab86b3f47c82ce415a5e7d12849dbdd58699 (patch)
treefa3d88a9a60bd01535535cd6d14849a3a3ff2711 /llvm/lib/CodeGen/RegAllocFast.cpp
parentb05be5f4b4cc5d426dd8ee7aac8b83556453a766 (diff)
downloadbcm5719-llvm-cb0bab86b3f47c82ce415a5e7d12849dbdd58699.tar.gz
bcm5719-llvm-cb0bab86b3f47c82ce415a5e7d12849dbdd58699.zip
[CodeGen] Fix inconsistent declaration parameter name
llvm-svn: 337200
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocFast.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index e2980d175e7..7b57c6cbcdb 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/lib/CodeGen/RegAllocFast.cpp
@@ -179,7 +179,7 @@ namespace {
}
private:
- bool runOnMachineFunction(MachineFunction &Fn) override;
+ bool runOnMachineFunction(MachineFunction &MF) override;
void allocateBasicBlock(MachineBasicBlock &MBB);
void handleThroughOperands(MachineInstr &MI,
SmallVectorImpl<unsigned> &VirtDead);
@@ -206,7 +206,7 @@ namespace {
return LiveVirtRegs.find(TargetRegisterInfo::virtReg2Index(VirtReg));
}
- LiveRegMap::iterator assignVirtToPhysReg(unsigned VReg, MCPhysReg PhysReg);
+ LiveRegMap::iterator assignVirtToPhysReg(unsigned VirtReg, MCPhysReg PhysReg);
LiveRegMap::iterator allocVirtReg(MachineInstr &MI, LiveRegMap::iterator,
unsigned Hint);
LiveRegMap::iterator defineVirtReg(MachineInstr &MI, unsigned OpNum,
OpenPOWER on IntegriCloud