java.io.Serializable, java.lang.Cloneable, InstructionTargeter, UnconditionalBranch, VariableLengthInstructionpublic class GOTO extends GotoInstruction implements VariableLengthInstruction
index, position, targetlength, opcode| Constructor | Description |
|---|---|
GOTO(InstructionHandle target) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor v) |
Call corresponding visitor method(s).
|
void |
dump(java.io.DataOutputStream out) |
Dump instruction as byte code to stream out.
|
protected int |
updatePosition(int offset,
int max_offset) |
Called in pass 2 of InstructionList.setPositions() in order to update
the branch target, that may shift due to variable length instructions.
|
containsTarget, getIndex, getTarget, getTargetOffset, getTargetOffset, initFromFile, setTarget, toString, updateTargetconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toStringpublic GOTO(InstructionHandle target)
public void dump(java.io.DataOutputStream out)
throws java.io.IOException
dump in class BranchInstructionout - Output streamjava.io.IOExceptionprotected int updatePosition(int offset,
int max_offset)
updatePosition in class BranchInstructionoffset - additional offset caused by preceding (variable length) instructionsmax_offset - the maximum offset that may be caused by these instructionspublic void accept(Visitor v)
accept in class Instructionv - Visitor object