Package org.jruby.ir.targets.simple
Class NormalBranchCompiler
java.lang.Object
org.jruby.ir.targets.simple.NormalBranchCompiler
- All Implemented Interfaces:
BranchCompiler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbfalse(org.objectweb.asm.Label label) voidbranchIfNil(org.objectweb.asm.Label label) Branch to label if value at top of stack is nilvoidbranchIfTruthy(org.objectweb.asm.Label target) voidbtrue(org.objectweb.asm.Label label)
-
Field Details
-
compiler
-
-
Constructor Details
-
NormalBranchCompiler
-
-
Method Details
-
branchIfTruthy
public void branchIfTruthy(org.objectweb.asm.Label target) - Specified by:
branchIfTruthyin interfaceBranchCompiler
-
branchIfNil
public void branchIfNil(org.objectweb.asm.Label label) Branch to label if value at top of stack is nilstack: obj to check for nilness
- Specified by:
branchIfNilin interfaceBranchCompiler
-
bfalse
public void bfalse(org.objectweb.asm.Label label) - Specified by:
bfalsein interfaceBranchCompiler
-
btrue
public void btrue(org.objectweb.asm.Label label) - Specified by:
btruein interfaceBranchCompiler
-