diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-01-19 22:31:12 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-01-19 22:31:12 +0000 |
commit | 871b3df6d926c1e79b4fca532ac9c8e925722185 (patch) | |
tree | b30d7f84386d59e3472bdaf2d25b0da29f7d6077 /lib/CodeGen/MachineFunction.cpp | |
parent | b9be9b997a34ed8a783011d02eb25baefe1de95d (diff) | |
download | llvm-871b3df6d926c1e79b4fca532ac9c8e925722185.tar.gz |
[MachineFunction] Constify getter. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index ca4bb1c6ad49..f6604f38722a 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -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"); } |