Top Methods
org.jruby.ir.targets

public Interface BranchCompiler

Known Direct Implementers
org.jruby.ir.targets.indy.IndyBranchCompiler, org.jruby.ir.targets.simple.NormalBranchCompiler
Imports
org.objectweb.asm.Label

Method Summary

Modifier and TypeMethod and Description
public void
bfalse(Label label)

public void
branchIfNil(Label label)

Branch to label if value at top of stack is nil

stack: obj to check for nilness

public void
public void
btrue(Label label)

public void
checkArgsArity(Runnable args, int required, int opt, boolean rest)

public void
checkArity(int required, int opt, boolean rest, int restKey)

public void
checkAritySpecificArgs(int required, int opt, boolean rest, int restKey)

Method Detail

bfalseback to summary
public void bfalse(Label label)
branchIfNilback to summary
public void branchIfNil(Label label)

Branch to label if value at top of stack is nil

stack: obj to check for nilness

branchIfTruthyback to summary
public void branchIfTruthy(Label target)
btrueback to summary
public void btrue(Label label)
checkArgsArityback to summary
public void checkArgsArity(Runnable args, int required, int opt, boolean rest)
checkArityback to summary
public void checkArity(int required, int opt, boolean rest, int restKey)
checkAritySpecificArgsback to summary
public void checkAritySpecificArgs(int required, int opt, boolean rest, int restKey)