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 | c7fc432b1913a3e28445408ddbc9f0922248d52f (patch) | |
tree | c5ec15b40b7860f493eb58ff30609cdae73c3b0a /llvm/lib/CodeGen | |
parent | 75f9b72bfcb2b28386fd3dda59c762c7502dc3e4 (diff) | |
download | bcm5719-llvm-c7fc432b1913a3e28445408ddbc9f0922248d52f.tar.gz bcm5719-llvm-c7fc432b1913a3e28445408ddbc9f0922248d52f.zip |
Minor const-correctness fixes.
llvm-svn: 53196
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/RegisterScavenging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegisterScavenging.cpp b/llvm/lib/CodeGen/RegisterScavenging.cpp index e8329781ac3..ba2395a32a9 100644 --- a/llvm/lib/CodeGen/RegisterScavenging.cpp +++ b/llvm/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(); |