public class BasicBlock extends Object implements BasicBlockReader
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
List<Instruction> |
getInstructions() |
Instruction |
getLastInstruction() |
List<Phi> |
getPhis() |
Program |
getProgram() |
List<TryCatchBlock> |
getTryCatchBlocks() |
int |
instructionCount() |
void |
readAllInstructions(InstructionReader reader) |
void |
readInstruction(int index,
InstructionReader reader) |
List<? extends PhiReader> |
readPhis() |
List<TryCatchBlock> |
readTryCatchBlocks() |
void |
removeIncomingsFrom(BasicBlock predecessor) |
public Program getProgram()
getProgram in interface BasicBlockReaderpublic int getIndex()
getIndex in interface BasicBlockReaderpublic List<Instruction> getInstructions()
public Instruction getLastInstruction()
public List<? extends PhiReader> readPhis()
readPhis in interface BasicBlockReaderpublic int instructionCount()
instructionCount in interface BasicBlockReaderpublic void readInstruction(int index,
InstructionReader reader)
readInstruction in interface BasicBlockReaderpublic void readAllInstructions(InstructionReader reader)
readAllInstructions in interface BasicBlockReaderpublic void removeIncomingsFrom(BasicBlock predecessor)
public List<TryCatchBlock> readTryCatchBlocks()
readTryCatchBlocks in interface BasicBlockReaderpublic List<TryCatchBlock> getTryCatchBlocks()
Copyright © 2015. All rights reserved.