diff options
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r-- | lib/CodeGen/StackSlotColoring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp index fc941df8d9..8043556349 100644 --- a/lib/CodeGen/StackSlotColoring.cpp +++ b/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"); |