Public Methods | |
int | getPosition () |
InstructionHandle | getTarget () |
void | setInstruction (Instruction i) |
void | setTarget (InstructionHandle ih) |
void | updateTarget (InstructionHandle old_ih, InstructionHandle new_ih) |
int | getPosition () |
InstructionHandle | getTarget () |
void | setInstruction (Instruction i) |
void | setTarget (InstructionHandle ih) |
void | updateTarget (InstructionHandle old_ih, InstructionHandle new_ih) |
Protected Methods | |
void | addHandle () |
int | updatePosition (int offset, int max_offset) |
void | addHandle () |
int | updatePosition (int offset, int max_offset) |
Private Methods | |
BranchHandle (BranchInstruction i) | |
void | setPosition (int pos) |
BranchHandle (BranchInstruction i) | |
void | setPosition (int pos) |
Static Private Methods | |
final BranchHandle | getBranchHandle (BranchInstruction i) |
final BranchHandle | getBranchHandle (BranchInstruction i) |
Private Attributes | |
BranchInstruction | bi |
Static Private Attributes | |
BranchHandle | bh_list = null |
Definition at line 15 of file lib/jpf/de/fub/bytecode/generic/BranchHandle.java.
|
Handle adds itself to the list of resuable handles. Reimplemented from InstructionHandle. Definition at line 28 of file src/de/fub/bytecode/generic/BranchHandle.java. |
|
Handle adds itself to the list of resuable handles. Reimplemented from InstructionHandle. Definition at line 28 of file lib/jpf/de/fub/bytecode/generic/BranchHandle.java. |
|
Definition at line 52 of file src/de/fub/bytecode/generic/BranchHandle.java. |
|
Definition at line 54 of file lib/jpf/de/fub/bytecode/generic/BranchHandle.java. |
|
Set new contents. Old instruction is disposed and may not be used anymore. Reimplemented from InstructionHandle. Definition at line 58 of file src/de/fub/bytecode/generic/BranchHandle.java. |
|
Set new contents. Old instruction is disposed and may not be used anymore. Reimplemented from InstructionHandle. Definition at line 60 of file lib/jpf/de/fub/bytecode/generic/BranchHandle.java. |
|
Pass new target to instruction. Definition at line 73 of file src/de/fub/bytecode/generic/BranchHandle.java. |
|
Pass new target to instruction. Definition at line 77 of file lib/jpf/de/fub/bytecode/generic/BranchHandle.java. |
|
Called by InstructionList.setPositions when setting the position for every instruction. In the presence of variable length instructions `setPositions' performs multiple passes over the instruction list to calculate the correct (byte) positions and offsets by calling this function.
Reimplemented from InstructionHandle. Definition at line 76 of file src/de/fub/bytecode/generic/BranchHandle.java. |
|
Called by InstructionList.setPositions when setting the position for every instruction. In the presence of variable length instructions `setPositions' performs multiple passes over the instruction list to calculate the correct (byte) positions and offsets by calling this function.
Reimplemented from InstructionHandle. Definition at line 80 of file lib/jpf/de/fub/bytecode/generic/BranchHandle.java. |
|
Update target of instruction. Definition at line 84 of file src/de/fub/bytecode/generic/BranchHandle.java. |
|
Update target of instruction. Definition at line 88 of file lib/jpf/de/fub/bytecode/generic/BranchHandle.java. |
|
Factory methods. Definition at line 20 of file src/de/fub/bytecode/generic/BranchHandle.java. |