[llvm] r188772 - [stackprotector] Small cleanup.
Michael Gottesman
mgottesman at apple.com
Tue Aug 20 01:56:28 PDT 2013
Author: mgottesman
Date: Tue Aug 20 03:56:28 2013
New Revision: 188772
URL: http://llvm.org/viewvc/llvm-project?rev=188772&view=rev
Log:
[stackprotector] Small cleanup.
Modified:
llvm/trunk/lib/CodeGen/StackProtector.cpp
Modified: llvm/trunk/lib/CodeGen/StackProtector.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackProtector.cpp?rev=188772&r1=188771&r2=188772&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackProtector.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackProtector.cpp Tue Aug 20 03:56:28 2013
@@ -395,7 +395,8 @@ bool StackProtector::InsertStackProtecto
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;
More information about the llvm-commits
mailing list