public class NormalBranchCompiler extends java.lang.Object implements BranchCompiler
| Constructor and Description |
|---|
NormalBranchCompiler(IRBytecodeAdapter compiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
bfalse(org.objectweb.asm.Label label) |
void |
branchIfNil(org.objectweb.asm.Label label)
Branch to label if value at top of stack is nil
|
void |
branchIfTruthy(org.objectweb.asm.Label target) |
void |
btrue(org.objectweb.asm.Label label) |
public NormalBranchCompiler(IRBytecodeAdapter compiler)
public void branchIfTruthy(org.objectweb.asm.Label target)
branchIfTruthy in interface BranchCompilerpublic void branchIfNil(org.objectweb.asm.Label label)
stack: obj to check for nilness
branchIfNil in interface BranchCompilerpublic void bfalse(org.objectweb.asm.Label label)
bfalse in interface BranchCompilerpublic void btrue(org.objectweb.asm.Label label)
btrue in interface BranchCompilerCopyright © 2001-2022 JRuby. All Rights Reserved.