public BasicBlock() { prev = new BasicBlockArray(); next = new BasicBlockArray(); links = new BasicBlockArray(); body = new NodeArray(); }
private void ReConstruct() //Andrew { mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION); GraphProcessor processor = new GraphProcessor(); BasicBlocksBuilder builder = new BasicBlocksBuilder(processor); entry = builder.createBasicBlock(); builder.AddTask(mbb, entry); processor.Process(); blockList = builder.BlockList; }
public BasicBlocksGraph(MethodBodyBlock methodBodyBlock) { mbb = methodBodyBlock; mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION); GraphProcessor processor = new GraphProcessor(); BasicBlocksBuilder builder = new BasicBlocksBuilder(processor); entry = builder.createBasicBlock(); builder.AddTask(methodBodyBlock, entry); processor.Process(); blockList = builder.BlockList; }
//Andrew private void ReConstruct() { mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION); GraphProcessor processor = new GraphProcessor(); BasicBlocksBuilder builder = new BasicBlocksBuilder(processor); entry = builder.createBasicBlock(); builder.AddTask(mbb,entry); processor.Process(); blockList = builder.BlockList; }
public BasicBlocksGraph(MethodBodyBlock methodBodyBlock) { mbb = methodBodyBlock; mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION); GraphProcessor processor = new GraphProcessor(); BasicBlocksBuilder builder = new BasicBlocksBuilder(processor); entry = builder.createBasicBlock(); builder.AddTask(methodBodyBlock,entry); processor.Process(); blockList = builder.BlockList; }
public BasicBlocksBuilder(GraphProcessor graphProcessor) : base(graphProcessor) { blockList = new BasicBlockArray(); }