Top Fields Constructors Methods
org.jruby.ir.targets.indy

public Class IndyBranchCompiler

extends Object
implements BranchCompiler
Class Inheritance
All Implemented Interfaces
org.jruby.ir.targets.BranchCompiler
Imports
org.jruby.RubyArray, org.jruby.ir.targets.BranchCompiler, .IRBytecodeAdapter, org.jruby.ir.targets.simple.NormalBranchCompiler, org.jruby.parser.StaticScope, org.jruby.runtime.Block, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.objectweb.asm.Label

Field Summary

Modifier and TypeField and Description
private final IRBytecodeAdapter
private final BranchCompiler

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements org.jruby.ir.targets.BranchCompiler.branchIfNil.

Branch to label if value at top of stack is nil

stack: obj to check for nilness

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

Implements org.jruby.ir.targets.BranchCompiler.checkArgsArity.

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

Implements org.jruby.ir.targets.BranchCompiler.checkArity.

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

Implements org.jruby.ir.targets.BranchCompiler.checkAritySpecificArgs.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compilerback to summary
private final IRBytecodeAdapter compiler
normalCompilerback to summary
private final BranchCompiler normalCompiler

Constructor Detail

IndyBranchCompilerback to summary
public IndyBranchCompiler(IRBytecodeAdapter compiler)

Method Detail

bfalseback to summary
public void bfalse(Label label)

Implements org.jruby.ir.targets.BranchCompiler.bfalse.

Annotations
@Override
branchIfNilback to summary
public void branchIfNil(Label label)

Implements org.jruby.ir.targets.BranchCompiler.branchIfNil.

Doc from org.jruby.ir.targets.BranchCompiler.branchIfNil.

Branch to label if value at top of stack is nil

stack: obj to check for nilness

Annotations
@Override
branchIfTruthyback to summary
public void branchIfTruthy(Label label)

Implements org.jruby.ir.targets.BranchCompiler.branchIfTruthy.

Annotations
@Override
btrueback to summary
public void btrue(Label label)

Implements org.jruby.ir.targets.BranchCompiler.btrue.

Annotations
@Override
checkArgsArityback to summary
public void checkArgsArity(Runnable args, int required, int opt, boolean rest)

Implements org.jruby.ir.targets.BranchCompiler.checkArgsArity.

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

Implements org.jruby.ir.targets.BranchCompiler.checkArity.

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

Implements org.jruby.ir.targets.BranchCompiler.checkAritySpecificArgs.