diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-05-14 21:28:24 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-05-14 21:28:24 +0000 |
commit | 0fc546b053135a6a176aedb1b133dc9dafd4c8aa (patch) | |
tree | 5608246a5c56406c54af789cc92a4d445e7026d1 /lib/Target/TargetMachine.cpp | |
parent | 01384ef159caa7eebff0e1d703638f2e2c862092 (diff) |
Revert r103804. The comment is correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r-- | lib/Target/TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 54650a059f..ac67c91f17 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -277,7 +277,7 @@ namespace llvm { return true; if (NoFramePointerElimNonLeaf) { const MachineFrameInfo *MFI = MF.getFrameInfo(); - return MFI->adjustsStack(); + return MFI->hasCalls(); } return false; } |