mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[MachineFunction] Constify getter. NFC.
llvm-svn: 258207
This commit is contained in:
parent
0f7fb08594
commit
44cd309151
@ -295,7 +295,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Should we be emitting segmented stack stuff for the function
|
/// Should we be emitting segmented stack stuff for the function
|
||||||
bool shouldSplitStack();
|
bool shouldSplitStack() const;
|
||||||
|
|
||||||
/// getNumBlockIDs - Return the number of MBB ID's allocated.
|
/// getNumBlockIDs - Return the number of MBB ID's allocated.
|
||||||
///
|
///
|
||||||
|
@ -163,7 +163,7 @@ getOrCreateJumpTableInfo(unsigned EntryKind) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Should we be emitting segmented stack stuff for the function
|
/// Should we be emitting segmented stack stuff for the function
|
||||||
bool MachineFunction::shouldSplitStack() {
|
bool MachineFunction::shouldSplitStack() const {
|
||||||
return getFunction()->hasFnAttribute("split-stack");
|
return getFunction()->hasFnAttribute("split-stack");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user