diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-08-20 08:56:28 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-08-20 08:56:28 +0000 |
commit | ade3075030ddd6db370649993a6da5e21e73daab (patch) | |
tree | 60292e5607c108cb1e10f7ed6c8595533b1c1337 /lib | |
parent | d4f478899e6229648f94c4aa70256986cdc6ee18 (diff) | |
download | external_llvm-ade3075030ddd6db370649993a6da5e21e73daab.zip external_llvm-ade3075030ddd6db370649993a6da5e21e73daab.tar.gz external_llvm-ade3075030ddd6db370649993a6da5e21e73daab.tar.bz2 |
[stackprotector] Small cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/StackProtector.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/StackProtector.cpp b/lib/CodeGen/StackProtector.cpp index 86ca53d..45675c9 100644 --- a/lib/CodeGen/StackProtector.cpp +++ b/lib/CodeGen/StackProtector.cpp @@ -395,7 +395,8 @@ bool StackProtector::InsertStackProtectors() { for (Function::iterator I = F->begin(), E = F->end(); I != E; ) { BasicBlock *BB = I++; ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator()); - if (!RI) continue; + if (!RI) + continue; if (!HasPrologue) { HasPrologue = true; |