summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-06 07:23:03 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-06 07:23:03 +0000
commitb3f7a39877188405cd52fa6fe5a4533248fb0467 (patch)
tree03b379c6192be7b236bcdf94e960dbf2edbd4a4f /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentef625263ef7aa27e4e41a30ada86f0cd19700e5d (diff)
downloadbcm5719-llvm-b3f7a39877188405cd52fa6fe5a4533248fb0467.tar.gz
bcm5719-llvm-b3f7a39877188405cd52fa6fe5a4533248fb0467.zip
- Rename stackprotector_{prologue,epilogue} to stackprotector_{create,check}.
- Get rid of "HasStackProtector" in MachineFrameInfo. - Modify intrinsics to tell which are doing what with memory. llvm-svn: 58799
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index e118dd2449f..64529372c40 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -408,7 +408,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
// Make sure that the stack protector comes before the local variables on the
// stack.
- if (FFI->hasStackProtector()) {
+ if (FFI->getStackProtectorIndex() >= 0) {
int FI = FFI->getStackProtectorIndex();
// If stack grows down, we need to add size of find the lowest
OpenPOWER on IntegriCloud