Package gw.lang.ir
Class ConditionContext
- java.lang.Object
-
- gw.lang.ir.ConditionContext
-
public class ConditionContext extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<org.objectweb.asm.Label>_falseListprivate int_opcodeprivate java.util.List<org.objectweb.asm.Label>_trueList
-
Constructor Summary
Constructors Constructor Description ConditionContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidfixLabels(boolean kind, org.objectweb.asm.MethodVisitor mv)org.objectweb.asm.LabelgenerateFalseLabel()org.objectweb.asm.LabelgenerateTrueLabel()java.util.List<org.objectweb.asm.Label>getLabels(boolean kind)intgetOperator()voidmergeLabels(boolean kind, ConditionContext context)voidsetFalseLabels(java.util.List<org.objectweb.asm.Label> labels)voidsetOperator(int opcode)voidsetTrueLabels(java.util.List<org.objectweb.asm.Label> labels)voidupdate(ConditionContext context)
-
-
-
Method Detail
-
generateFalseLabel
public org.objectweb.asm.Label generateFalseLabel()
-
generateTrueLabel
public org.objectweb.asm.Label generateTrueLabel()
-
setFalseLabels
public void setFalseLabels(java.util.List<org.objectweb.asm.Label> labels)
-
setTrueLabels
public void setTrueLabels(java.util.List<org.objectweb.asm.Label> labels)
-
mergeLabels
public void mergeLabels(boolean kind, ConditionContext context)
-
fixLabels
public void fixLabels(boolean kind, org.objectweb.asm.MethodVisitor mv)
-
getLabels
public java.util.List<org.objectweb.asm.Label> getLabels(boolean kind)
-
update
public void update(ConditionContext context)
-
setOperator
public void setOperator(int opcode)
-
getOperator
public int getOperator()
-
clear
public void clear()
-
-