Package io.quarkus.gizmo
Class BytecodeCreatorImpl.IfOperation
- java.lang.Object
-
- io.quarkus.gizmo.BytecodeCreatorImpl.Operation
-
- io.quarkus.gizmo.BytecodeCreatorImpl.IfOperation
-
- Enclosing class:
- BytecodeCreatorImpl
class BytecodeCreatorImpl.IfOperation extends BytecodeCreatorImpl.Operation
-
-
Field Summary
Fields Modifier and Type Field Description private BytecodeCreatorImplfalseBranchprivate intopcodeprivate java.lang.StringopTypeprivate BytecodeCreatorImpltrueBranchprivate ResultHandlevalue1private ResultHandlevalue2
-
Constructor Summary
Constructors Constructor Description IfOperation(int opcode, java.lang.String opType, ResultHandle value, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch)IfOperation(int opcode, java.lang.String opType, ResultHandle value1, ResultHandle value2, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfindResultHandles(java.util.Set<ResultHandle> vc)(package private) java.util.Set<ResultHandle>getInputResultHandles()Gets all result handles that are used as input to this operation(package private) ResultHandlegetOutgoingResultHandle()(package private) ResultHandlegetTopResultHandle()voidwriteBytecode(org.objectweb.asm.MethodVisitor methodVisitor)-
Methods inherited from class io.quarkus.gizmo.BytecodeCreatorImpl.Operation
doProcess
-
-
-
-
Field Detail
-
opcode
private final int opcode
-
opType
private final java.lang.String opType
-
value1
private final ResultHandle value1
-
value2
private final ResultHandle value2
-
trueBranch
private final BytecodeCreatorImpl trueBranch
-
falseBranch
private final BytecodeCreatorImpl falseBranch
-
-
Constructor Detail
-
IfOperation
IfOperation(int opcode, java.lang.String opType, ResultHandle value, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch)
-
IfOperation
IfOperation(int opcode, java.lang.String opType, ResultHandle value1, ResultHandle value2, BytecodeCreatorImpl trueBranch, BytecodeCreatorImpl falseBranch)
-
-
Method Detail
-
writeBytecode
public void writeBytecode(org.objectweb.asm.MethodVisitor methodVisitor)
- Specified by:
writeBytecodein classBytecodeCreatorImpl.Operation
-
getInputResultHandles
java.util.Set<ResultHandle> getInputResultHandles()
Description copied from class:BytecodeCreatorImpl.OperationGets all result handles that are used as input to this operation- Specified by:
getInputResultHandlesin classBytecodeCreatorImpl.Operation- Returns:
- The result handles
-
getTopResultHandle
ResultHandle getTopResultHandle()
- Specified by:
getTopResultHandlein classBytecodeCreatorImpl.Operation- Returns:
- The incoming result handle that is first loaded into the stack, or null if this is not applicable
-
getOutgoingResultHandle
ResultHandle getOutgoingResultHandle()
- Specified by:
getOutgoingResultHandlein classBytecodeCreatorImpl.Operation- Returns:
- The result handle that is created as a result of this operation
-
findResultHandles
public void findResultHandles(java.util.Set<ResultHandle> vc)
- Overrides:
findResultHandlesin classBytecodeCreatorImpl.Operation
-
-