Advertisement
Guest User

Untitled

a guest
Jul 19th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LLVM 0.58 KB | None | 0 0
  1. case Instruction::Invoke:
  2.         {
  3.             InvokeInst *iI = cast<InvokeInst>(I);
  4.             // delay adding control-flow checks on conditional branches
  5.             normalExecBrs.push_back(iI->getNormalDest());
  6.             unwindExecBrs.push_back(iI->getUnwindDest());
  7.         }break;
  8.         case Instruction::Br: {
  9.             BranchInst *BI = cast<BranchInst>(I);
  10.             if (BI->isUnconditional())
  11.                 break;
  12.            
  13.             // delay adding control-flow checks on conditional branches
  14.             brs.push_back(BI);
  15.         }
  16.             break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement