mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 16:09:02 +00:00
[MachineFunction] Constify getter. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258207 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b9be9b997a
commit
871b3df6d9
@ -295,7 +295,7 @@ public:
|
||||
}
|
||||
|
||||
/// Should we be emitting segmented stack stuff for the function
|
||||
bool shouldSplitStack();
|
||||
bool shouldSplitStack() const;
|
||||
|
||||
/// 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
|
||||
bool MachineFunction::shouldSplitStack() {
|
||||
bool MachineFunction::shouldSplitStack() const {
|
||||
return getFunction()->hasFnAttribute("split-stack");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user