public class RuntimeHelperCall extends NOperandResultBaseInstr
| Modifier and Type | Class and Description | 
|---|---|
| static class  | RuntimeHelperCall.Methods | 
resultEMPTY_OPERANDS| Constructor and Description | 
|---|
| RuntimeHelperCall(Variable result,
                 RuntimeHelperCall.Methods helperMethod,
                 Operand[] args) | 
| Modifier and Type | Method and Description | 
|---|---|
| IRubyObject | callHelper(ThreadContext context,
          StaticScope currScope,
          DynamicScope currDynScope,
          IRubyObject self,
          Object[] temp,
          Block.Type blockType) | 
| Instr | clone(CloneInfo ii)Clone the instruction for use in an inlining context (either when a scope is inlined into
 another scope, or when a block has to be cloned because its associated call belongs to
 an inlined scope). | 
| boolean | computeScopeFlags(IRScope scope)Does this instruction do anything the scope is interested in? | 
| static RuntimeHelperCall | decode(IRReaderDecoder d) | 
| void | encode(IRWriterEncoder e) | 
| Operand[] | getArgs() | 
| RuntimeHelperCall.Methods | getHelperMethod() | 
| String[] | toStringNonOperandArgs() | 
| void | visit(IRVisitor visitor) | 
getOperands, setOperandgetResult, updateResultcanBeDeletedFromScope, canRaiseException, cloneOperands, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic RuntimeHelperCall(Variable result, RuntimeHelperCall.Methods helperMethod, Operand[] args)
public Operand[] getArgs()
public RuntimeHelperCall.Methods getHelperMethod()
public boolean computeScopeFlags(IRScope scope)
computeScopeFlags in class Instrscope - to be updatedpublic Instr clone(CloneInfo ii)
Instrpublic void encode(IRWriterEncoder e)
encode in class ResultBaseInstrpublic static RuntimeHelperCall decode(IRReaderDecoder d)
public String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic IRubyObject callHelper(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp, Block.Type blockType)
Copyright © 2001-2015 JRuby. All Rights Reserved.