diff options
Diffstat (limited to 'contrib/llvm/lib/CodeGen/ShadowStackGC.cpp')
-rw-r--r-- | contrib/llvm/lib/CodeGen/ShadowStackGC.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm/lib/CodeGen/ShadowStackGC.cpp b/contrib/llvm/lib/CodeGen/ShadowStackGC.cpp index 2609256..0016047 100644 --- a/contrib/llvm/lib/CodeGen/ShadowStackGC.cpp +++ b/contrib/llvm/lib/CodeGen/ShadowStackGC.cpp @@ -116,8 +116,7 @@ namespace { // Branches and invokes do not escape, only unwind, resume, and return // do. TerminatorInst *TI = CurBB->getTerminator(); - if (!isa<UnwindInst>(TI) && !isa<ReturnInst>(TI) && - !isa<ResumeInst>(TI)) + if (!isa<ReturnInst>(TI) && !isa<ResumeInst>(TI)) continue; Builder.SetInsertPoint(TI->getParent(), TI); |