This class is used internally to handle labels for jumping in JIT code. Use JITFunction.if, JITFunction.if_else, or JITFunction.until instead.
| JITLabel | This class is used internally to handle labels for jumping in JIT code. |
| Functions | |
| JITValue.new | Creates a label to be used with JITFunction.insn_label. |
def JITValue.new
Creates a label to be used with JITFunction.insn_label. JITFunction.insn_branch, JITFunction.insn_branch_if, or JITFunction.insn_branch_if_not. Do not use JITLabel directly. Use JITFunction.if, JITFunction.if_else, or JITFunction.until instead.
Creates a label to be used with JITFunction.insn_label.
def JITValue.new
Insert a label.
def insn_label( label )
Create a conditional statement.
def if( value )
Create a conditional statement with one action for each case.
def if_else( value, action1, action2 )
Create a while-loop.
def until( cond )
Jump to the label.
def insn_branch( label )
Jump to label if the value is not zero.
def insn_branch_if( value, label )
Jump to label if the value is zero.
def insn_branch_if_not( value, label )