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 | 4c3a1d8d2be313f1b322f680801fec262a2480c6 (patch) | |
tree | 7bb989e12013577856ddb7f7b6e39f6b3aa534f1 /lib/CodeGen/PrologEpilogInserter.cpp | |
parent | e11eb620efa50e99b1a5dd94e8b63840c32d587b (diff) | |
download | external_llvm-4c3a1d8d2be313f1b322f680801fec262a2480c6.zip external_llvm-4c3a1d8d2be313f1b322f680801fec262a2480c6.tar.gz external_llvm-4c3a1d8d2be313f1b322f680801fec262a2480c6.tar.bz2 |
- Rename stackprotector_{prologue,epilogue} to stackprotector_{create,check}.
- Get rid of "HasStackProtector" in MachineFrameInfo.
- Modify intrinsics to tell which are doing what with memory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | lib/CodeGen/PrologEpilogInserter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index e118dd2..6452937 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/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 |