Class NormalBranchCompiler

java.lang.Object
org.jruby.ir.targets.simple.NormalBranchCompiler
All Implemented Interfaces:
BranchCompiler

public class NormalBranchCompiler extends Object implements BranchCompiler
  • Field Details

  • Constructor Details

  • Method Details

    • branchIfTruthy

      public void branchIfTruthy(org.objectweb.asm.Label target)
      Specified by:
      branchIfTruthy in interface BranchCompiler
    • branchIfNil

      public void branchIfNil(org.objectweb.asm.Label label)
      Branch to label if value at top of stack is nil

      stack: obj to check for nilness

      Specified by:
      branchIfNil in interface BranchCompiler
    • bfalse

      public void bfalse(org.objectweb.asm.Label label)
      Specified by:
      bfalse in interface BranchCompiler
    • btrue

      public void btrue(org.objectweb.asm.Label label)
      Specified by:
      btrue in interface BranchCompiler