diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-11-06 07:23:03 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-11-06 07:23:03 +0000 |
commit | b3f7a39877188405cd52fa6fe5a4533248fb0467 (patch) | |
tree | 03b379c6192be7b236bcdf94e960dbf2edbd4a4f /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | ef625263ef7aa27e4e41a30ada86f0cd19700e5d (diff) | |
download | bcm5719-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.cpp | 2 |
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 |