diff options
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index 06440e457a8..d5af24ed71a 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/lib/CodeGen/WinEHPrepare.cpp @@ -2638,9 +2638,9 @@ static const CatchPadInst *getSingleCatchPadPredecessor(const BasicBlock *BB) { /// to label %catch.B unwind label %endcatches /// %endcatches /// catchendblock unwind to caller -void findCatchPadsForCatchEndPad( - const BasicBlock *CatchEndBB, - SmallVectorImpl<const CatchPadInst *> &Handlers) { +static void +findCatchPadsForCatchEndPad(const BasicBlock *CatchEndBB, + SmallVectorImpl<const CatchPadInst *> &Handlers) { const CatchPadInst *CPI = getSingleCatchPadPredecessor(CatchEndBB); while (CPI) { Handlers.push_back(CPI); |