diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-07 20:06:06 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-07 20:06:06 +0000 |
commit | e4da641adc6f0989b558036c9c238ff3ce050669 (patch) | |
tree | c40ed5013f70b8eb9eff4dd7f1ae1267b7ce5ff9 /lib/CodeGen/RegisterScavenging.cpp | |
parent | aba4239d93a5fbbbfca7efe3c1c8fc8254e5bcd3 (diff) | |
download | external_llvm-e4da641adc6f0989b558036c9c238ff3ce050669.zip external_llvm-e4da641adc6f0989b558036c9c238ff3ce050669.tar.gz external_llvm-e4da641adc6f0989b558036c9c238ff3ce050669.tar.bz2 |
Minor const-correctness fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterScavenging.cpp')
-rw-r--r-- | lib/CodeGen/RegisterScavenging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegisterScavenging.cpp b/lib/CodeGen/RegisterScavenging.cpp index e832978..ba2395a 100644 --- a/lib/CodeGen/RegisterScavenging.cpp +++ b/lib/CodeGen/RegisterScavenging.cpp @@ -81,7 +81,7 @@ void RegScavenger::setUnused(unsigned Reg, const MachineInstr *MI) { } void RegScavenger::enterBasicBlock(MachineBasicBlock *mbb) { - const MachineFunction &MF = *mbb->getParent(); + MachineFunction &MF = *mbb->getParent(); const TargetMachine &TM = MF.getTarget(); TII = TM.getInstrInfo(); TRI = TM.getRegisterInfo(); |