Package org.jruby.ir.targets
Interface BranchCompiler
- All Known Implementing Classes:
IndyBranchCompiler
,NormalBranchCompiler
public interface BranchCompiler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bfalse
(org.objectweb.asm.Label label) void
branchIfNil
(org.objectweb.asm.Label label) Branch to label if value at top of stack is nilvoid
branchIfTruthy
(org.objectweb.asm.Label target) void
btrue
(org.objectweb.asm.Label label) void
checkArgsArity
(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)
-
Method Details
-
branchIfTruthy
void branchIfTruthy(org.objectweb.asm.Label target) -
branchIfNil
void branchIfNil(org.objectweb.asm.Label label) Branch to label if value at top of stack is nilstack: obj to check for nilness
-
bfalse
void bfalse(org.objectweb.asm.Label label) -
btrue
void btrue(org.objectweb.asm.Label label) -
checkArgsArity
-
checkArity
void checkArity(int required, int opt, boolean rest, int restKey) -
checkAritySpecificArgs
void checkAritySpecificArgs(int required, int opt, boolean rest, int restKey)
-