projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f4788
)
[stackprotector] Small cleanup.
author
Michael Gottesman
<mgottesman@apple.com>
Tue, 20 Aug 2013 08:56:28 +0000
(08:56 +0000)
committer
Michael Gottesman
<mgottesman@apple.com>
Tue, 20 Aug 2013 08:56:28 +0000
(08:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188772
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/StackProtector.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/StackProtector.cpp
b/lib/CodeGen/StackProtector.cpp
index 86ca53dba45f4c0514cc5a12507d23bf236b9939..45675c9469563d5ef2ba43a7d51df603d5e7ada1 100644
(file)
--- 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;