[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:
Quentin Colombet 2016-01-19 22:31:12 +00:00
parent b9be9b997a
commit 871b3df6d9
2 changed files with 2 additions and 2 deletions

View File

@ -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.
///

View File

@ -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");
}