public class BTrueInstr extends BranchInstr
EMPTY_OPERANDS| Modifier | Constructor and Description |
|---|---|
protected |
BTrueInstr(Operand v,
Label jmpTarget) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
cloneForBlockCloning(InlinerInfo ii)
Clone the instruction so it can be used in a cloned block which is present in a scope that itself
or an ancestor scope (in the case of nested blocks) is being inlined.
|
Instr |
cloneForInlinedScope(InlinerInfo ii)
Clone the instruction (present in a method/closure) so it can be inlined into another scope.
|
int |
interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
void |
visit(IRVisitor visitor) |
getArg1, getArg2, getJumpTarget, getOperands, simplifyOperands, toStringcanBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControlpublic Instr cloneForInlinedScope(InlinerInfo ii)
InstrcloneForInlinedScope in class Instrpublic Instr cloneForBlockCloning(InlinerInfo ii)
InstrcloneForBlockCloning in class Instrpublic int interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, IRubyObject self, Object[] temp, int ipc)
interpretAndGetNewIPC in class InstrCopyright © 2001–2024 JRuby. All rights reserved.