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 | 2c49e2e6645f952528a282d47b7b91523c0a2ab0 (patch) | |
| tree | 8a3b9692793f95112b0cf8bbafbf9d6af13af7c3 /llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | 97ce2bcefe15b7341d3a9ee91cc8eea0e49391c5 (diff) | |
| download | bcm5719-llvm-2c49e2e6645f952528a282d47b7b91523c0a2ab0.tar.gz bcm5719-llvm-2c49e2e6645f952528a282d47b7b91523c0a2ab0.zip | |
[MachineFunction] Constify getter. NFC.
llvm-svn: 258207
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index ca4bb1c6ad4..f6604f38722 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/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"); } |

