Merging r258207:
[oota-llvm.git] / lib / CodeGen / MachineFunction.cpp
index ca4bb1c6ad493bb2134217a7be66679f1e21723b..f6604f38722a26374ad2a8ddf46af1196514d434 100644 (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");
 }