The pc of the first instruction belonging to the BasicBlock
.
The pc of the last instruction belonging to this basic block.
Calls the function f
for all instructions - identified by their respective
pcs - of a basic block.
Calls the function f
for all instructions - identified by their respective
pcs - of a basic block.
The function that will be called.
The org.opalj.br.Code object to which this
BasicBlock implicitly
belongs.
Returns the index of an instruction – identified by its program counter (pc) – in a basic block.
Returns the index of an instruction – identified by its program counter (pc) – in a basic block.
Given a basic block which has five instructions which have the following program counters: {0,1,3,5,6}. In this case the index of the instruction with program counter 3 will be 2 and in case of the instruction with pc 6 the index will be 4.
The program counter of the instruction for which the index is needed.
pc
has to satisfy: startPC <= pc <= endPC
.
The code to which this basic block belongs.
Computes the set of all CFGNodes that are reachable from this one.
The pc of the first instruction belonging to the BasicBlock
.
Represents a basic block of a method's control flow graph (CFG). The basic block is identified by referring to the first and last instruction belonging to the basic block.