git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248278
91177308-0d34-0410-b5e6-
96231b3b80d8
/// 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);