Module org.htmlunit.corejs
Class JumpInstruction
java.lang.Object
org.htmlunit.corejs.javascript.interpreterv2.instruction.Instruction
org.htmlunit.corejs.javascript.interpreterv2.instruction.JumpInstruction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetTargets(int fromPC) Returns all possible jump targets from this instruction.voidsetOffset(int offset) Methods inherited from class org.htmlunit.corejs.javascript.interpreterv2.instruction.Instruction
getKnownType, interpret, simplify, stackChange
-
Constructor Details
-
JumpInstruction
public JumpInstruction()
-
-
Method Details
-
setOffset
public void setOffset(int offset) -
getOffset
public final int getOffset() -
getTargets
Returns all possible jump targets from this instruction.- Parameters:
fromPC- the PC of this instruction- Returns:
- set of all possible target PCs
-
toDebugString
- Overrides:
toDebugStringin classInstruction
-