diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-09-22 14:34:57 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-09-22 14:34:57 +0000 |
commit | 3c96f0a54e52eace6c8f157c5eea68146bc4932f (patch) | |
tree | baf40b852236ab20cfa16f5f6d818b44e47faf22 /llvm/lib/CodeGen | |
parent | af368f6e88fd5675e87a2633e467367d56cfe4da (diff) | |
download | bcm5719-llvm-3c96f0a54e52eace6c8f157c5eea68146bc4932f.tar.gz bcm5719-llvm-3c96f0a54e52eace6c8f157c5eea68146bc4932f.zip |
Make helper function static. NFC.
llvm-svn: 248278
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); |