public class KernelShortCircuitOr extends ConditionOperator implements Jumpable
falseLbl, trueLblleftFactor, rightFactorbyOtherUsedblock, insnHelper| 限定符 | 构造器和说明 |
|---|---|
protected |
KernelShortCircuitOr(KernelProgramBlock block,
KernelParam leftFactor,
KernelParam rightFactor) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
executing() |
void |
jumpNegative(KernelParam from,
cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl,
cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
To execute negative jump and generate relevant byte code.
|
void |
jumpPositive(KernelParam from,
cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl,
cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
To execute positive jump and generate relevant byte code.
|
doExecutecheckAsArgument, execute, factorToStack, verifyArgumentasArgument, getResultType, loadToStackfieldautoCast, checkCrement, endingPrepare, getBlock, getCompileOrder, getOperatorSymbol, initAdditionalProperties, prepare, startingPreparehasNext, next, previousprotected KernelShortCircuitOr(KernelProgramBlock block, KernelParam leftFactor, KernelParam rightFactor)
protected void executing()
executing 在类中 AbstractLogicalpublic void jumpPositive(KernelParam from, cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl, cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
JumpableTo execute positive jump and generate relevant byte code.
For example : the operator '1 == 1' then the positive jump is if_icmpeq.
the operator 'if(isTrue()){ ... }'(here we suppose the method isTrue)
return boolean value, then the positive jump is ifne
jumpPositive 在接口中 Jumpablepublic void jumpNegative(KernelParam from, cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl, cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
JumpableTo execute negative jump and generate relevant byte code.
For example : the operator '1 == 1' then the negative jump is if_icmpne.
the operator 'if(isTrue()){ ... }'(here we suppose the method isTrue)
return boolean value, then the positive jump is ifeq
jumpNegative 在接口中 JumpableCopyright © 2015. All rights reserved.