[MachineFunction] Constify getter. NFC.

llvm-svn: 258207
This commit is contained in:
Quentin Colombet
2016-01-19 22:31:12 +00:00
parent 97ce2bcefe
commit 2c49e2e664
2 changed files with 2 additions and 2 deletions

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