1
0
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:
Quentin Colombet 2016-01-19 22:31:12 +00:00
parent 0f7fb08594
commit 44cd309151
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 /// 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.
/// ///

View File

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