diff options
author | Eric Christopher <echristo@apple.com> | 2010-07-20 06:52:21 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-07-20 06:52:21 +0000 |
commit | 72852a8cfb605056d87b644d2e36b1346051413d (patch) | |
tree | 8b5e5b548e73faf5a751d824669390242f01405e /lib/Target/X86/X86RegisterInfo.h | |
parent | e8a469cdb400249ec263c79d1021f953f42f2760 (diff) |
Constify some arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.h')
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h index d852bcd201..0d56df5c11 100644 --- a/lib/Target/X86/X86RegisterInfo.h +++ b/lib/Target/X86/X86RegisterInfo.h @@ -117,9 +117,9 @@ public: bool needsStackRealignment(const MachineFunction &MF) const; - bool hasReservedCallFrame(MachineFunction &MF) const; + bool hasReservedCallFrame(const MachineFunction &MF) const; - bool hasReservedSpillSlot(MachineFunction &MF, unsigned Reg, + bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg, int &FrameIdx) const; void eliminateCallFramePseudoInstr(MachineFunction &MF, |