diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-05-25 22:02:22 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-05-25 22:02:22 +0000 |
commit | 388f6385113b6d25cfd5c5950f6c2176526a4e3b (patch) | |
tree | eee83b4853f516b3a8462393a9842a44949d98fb /llvm/lib/CodeGen | |
parent | ce3269b815d98d8193cfc327918b5cd33a1f28c3 (diff) | |
download | bcm5719-llvm-388f6385113b6d25cfd5c5950f6c2176526a4e3b.tar.gz bcm5719-llvm-388f6385113b6d25cfd5c5950f6c2176526a4e3b.zip |
Constify function.
llvm-svn: 104646
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/StackSlotColoring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp index fc941df8d9e..80435563498 100644 --- a/llvm/lib/CodeGen/StackSlotColoring.cpp +++ b/llvm/lib/CodeGen/StackSlotColoring.cpp @@ -118,7 +118,7 @@ namespace { private: void InitializeSlots(); - bool CheckForSetJmpCall(const MachineFunction &MF); + bool CheckForSetJmpCall(const MachineFunction &MF) const; void ScanForSpillSlotRefs(MachineFunction &MF); bool OverlapWithAssignments(LiveInterval *li, int Color) const; int ColorSlot(LiveInterval *li); @@ -164,7 +164,7 @@ namespace { /// CheckForSetJmpCall - Return true if there's a call to setjmp/sigsetjmp in /// this function. -bool StackSlotColoring::CheckForSetJmpCall(const MachineFunction &MF) { +bool StackSlotColoring::CheckForSetJmpCall(const MachineFunction &MF) const { const Function *F = MF.getFunction(); const Module *M = F->getParent(); const Function *SetJmp = M->getFunction("setjmp"); |