Class InstructionSet.CompositeInstruction
java.lang.Object
com.aparapi.internal.instruction.Instruction
com.aparapi.internal.instruction.InstructionSet.CompositeInstruction
- Direct Known Subclasses:
InstructionSet.CompositeArbitraryScopeInstruction, InstructionSet.CompositeDoWhileInstruction, InstructionSet.CompositeEmptyLoopInstruction, InstructionSet.CompositeForEclipseInstruction, InstructionSet.CompositeForSunInstruction, InstructionSet.CompositeIfElseInstruction, InstructionSet.CompositeIfInstruction, InstructionSet.CompositeWhileInstruction
- Enclosing class:
InstructionSet
-
Field Summary
FieldsFields inherited from class Instruction
method, pc -
Constructor Summary
ConstructorsConstructorDescriptionCompositeInstruction(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet) -
Method Summary
Modifier and TypeMethodDescriptioncreate(InstructionSet.ByteCode _byteCode, MethodModel _methodModel, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet) intintMethods inherited from class Instruction
addBranchTarget, asBranch, compareTo, consumesStack, getByteCode, getFirstChild, getForwardConditionalBranches, getForwardUnconditionalBranches, getLastChild, getLength, getMethod, getNextExpr, getNextPC, getParentExpr, getPrevExpr, getPrevPC, getReal, getReverseConditionalBranches, getReverseUnconditionalBranches, getRootExpr, getStackConsumeCount, getStackDelta, getStackProduceCount, getStartInstruction, isAfter, isAfterOrEqual, isBefore, isBeforeOrEqual, isBranch, isBranchTarget, isConditionalBranchTarget, isForwardBranch, isForwardBranchTarget, isForwardConditionalBranchTarget, isForwardUnconditionalBranchTarget, isReverseBranchTarget, isReverseConditionalBranchTarget, isReverseUnconditionalBranchTarget, isUnconditionalBranchTarget, producesStack, removeBranchTarget, sameAs, setChildren, setLength, setNextExpr, setNextPC, setParentExpr, setPrevExpr, setPrevPC, toInstruction, toString
-
Field Details
-
branchSet
-
-
Constructor Details
-
CompositeInstruction
public CompositeInstruction(MethodModel method, InstructionSet.ByteCode _byteCode, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet)
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin classInstruction
-
getThisPC
public int getThisPC()- Overrides:
getThisPCin classInstruction
-
getStartPC
public int getStartPC()- Overrides:
getStartPCin classInstruction
-
create
public static InstructionSet.CompositeInstruction create(InstructionSet.ByteCode _byteCode, MethodModel _methodModel, Instruction _firstChild, Instruction _lastChild, BranchSet _branchSet) -
getBranchSet
-