@@ -70,10 +70,10 @@ class WinEHStatePass : public FunctionPass {
7070 bool isStateStoreNeeded (EHPersonality Personality, CallBase &Call);
7171 void rewriteSetJmpCall (IRBuilder<> &Builder, Function &F, CallBase &Call,
7272 Value *State);
73- int getBaseStateForBB (BlockColorMapT &BlockColors, WinEHFuncInfo &FuncInfo,
74- BasicBlock *BB);
75- int getStateForCall (BlockColorMapT &BlockColors, WinEHFuncInfo &FuncInfo,
76- CallBase &Call);
73+ int getBaseStateForBB (BlockColorMapT &BlockColors,
74+ WinEHFuncInfo &FuncInfo, BasicBlock *BB);
75+ int getStateForCall (BlockColorMapT &BlockColors,
76+ WinEHFuncInfo &FuncInfo, CallBase &Call);
7777
7878 // Module-level type getters.
7979 Type *getEHLinkRegistrationType ();
@@ -500,8 +500,9 @@ void WinEHStatePass::rewriteSetJmpCall(IRBuilder<> &Builder, Function &F,
500500}
501501
502502// Figure out what state we should assign calls in this block.
503- int WinEHStatePass::getBaseStateForBB (BlockColorMapT &BlockColors,
504- WinEHFuncInfo &FuncInfo, BasicBlock *BB) {
503+ int WinEHStatePass::getBaseStateForBB (
504+ BlockColorMapT &BlockColors, WinEHFuncInfo &FuncInfo,
505+ BasicBlock *BB) {
505506 int BaseState = ParentBaseState;
506507 auto &BBColors = BlockColors[BB];
507508
@@ -518,8 +519,9 @@ int WinEHStatePass::getBaseStateForBB(BlockColorMapT &BlockColors,
518519}
519520
520521// Calculate the state a call-site is in.
521- int WinEHStatePass::getStateForCall (BlockColorMapT &BlockColors,
522- WinEHFuncInfo &FuncInfo, CallBase &Call) {
522+ int WinEHStatePass::getStateForCall (
523+ BlockColorMapT &BlockColors, WinEHFuncInfo &FuncInfo,
524+ CallBase &Call) {
523525 if (auto *II = dyn_cast<InvokeInst>(&Call)) {
524526 // Look up the state number of the EH pad this unwinds to.
525527 assert (FuncInfo.InvokeStateMap .count (II) && " invoke has no state!" );
0 commit comments