mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Constify function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eddc114a66
commit
f10bc81b4e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user