projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8b022
)
Constify the function parameters.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 15 Aug 2013 18:46:14 +0000
(18:46 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 15 Aug 2013 18:46:14 +0000
(18:46 +0000)
llvm-svn: 188469
llvm/lib/Target/X86/X86FrameLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86FrameLowering.cpp
b/llvm/lib/Target/X86/X86FrameLowering.cpp
index b994e678a8a68b2ad9647f6f5bb36d963f1a7191..ecf7b73d68d4ce845b21f30904112b2f373e2767 100644
(file)
--- a/
llvm/lib/Target/X86/X86FrameLowering.cpp
+++ b/
llvm/lib/Target/X86/X86FrameLowering.cpp
@@
-627,8
+627,8
@@
uint32_t X86FrameLowering::getCompactUnwindEncoding(MachineFunction &MF) const {
/// to use the stack, and if we don't adjust the stack we clobber the first
/// frame index.
/// See X86InstrInfo::copyPhysReg.
-static bool usesTheStack(MachineFunction &MF) {
- MachineRegisterInfo &MRI = MF.getRegInfo();
+static bool usesTheStack(
const
MachineFunction &MF) {
+
const
MachineRegisterInfo &MRI = MF.getRegInfo();
for (MachineRegisterInfo::reg_iterator ri = MRI.reg_begin(X86::EFLAGS),
re = MRI.reg_end(); ri != re; ++ri)