public class IndyBranchCompiler extends java.lang.Object implements BranchCompiler
| Constructor and Description |
|---|
IndyBranchCompiler(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 label) |
void |
btrue(org.objectweb.asm.Label label) |
void |
checkArgsArity(java.lang.Runnable args,
int required,
int opt,
boolean rest) |
void |
checkArity(int required,
int opt,
boolean rest,
int restKey) |
void |
checkAritySpecificArgs(int required,
int opt,
boolean rest,
int restKey) |
public IndyBranchCompiler(IRBytecodeAdapter compiler)
public void branchIfNil(org.objectweb.asm.Label label)
BranchCompilerstack: obj to check for nilness
branchIfNil in interface BranchCompilerpublic void branchIfTruthy(org.objectweb.asm.Label label)
branchIfTruthy in interface BranchCompilerpublic void bfalse(org.objectweb.asm.Label label)
bfalse in interface BranchCompilerpublic void btrue(org.objectweb.asm.Label label)
btrue in interface BranchCompilerpublic void checkArgsArity(java.lang.Runnable args,
int required,
int opt,
boolean rest)
checkArgsArity in interface BranchCompilerpublic void checkArity(int required,
int opt,
boolean rest,
int restKey)
checkArity in interface BranchCompilerpublic void checkAritySpecificArgs(int required,
int opt,
boolean rest,
int restKey)
checkAritySpecificArgs in interface BranchCompilerCopyright © 2001-2023 JRuby. All Rights Reserved.