public class InterpreterEngine extends Object
Constructor and Description |
---|
InterpreterEngine() |
Modifier and Type | Method and Description |
---|---|
protected static void |
extractToMethodToAvoidC2Crash(Instr instr,
Throwable t) |
IRubyObject |
interpret(ThreadContext context,
IRubyObject self,
InterpreterContext interpreterContext,
RubyModule implClass,
String name,
Block block,
Block.Type blockType) |
IRubyObject |
interpret(ThreadContext context,
IRubyObject self,
InterpreterContext interpreterContext,
RubyModule implClass,
String name,
IRubyObject[] args,
Block block,
Block.Type blockType) |
IRubyObject |
interpret(ThreadContext context,
IRubyObject self,
InterpreterContext interpreterContext,
RubyModule implClass,
String name,
IRubyObject arg1,
Block block,
Block.Type blockType) |
IRubyObject |
interpret(ThreadContext context,
IRubyObject self,
InterpreterContext interpreterContext,
RubyModule implClass,
String name,
IRubyObject arg1,
IRubyObject arg2,
Block block,
Block.Type blockType) |
IRubyObject |
interpret(ThreadContext context,
IRubyObject self,
InterpreterContext interpreterContext,
RubyModule implClass,
String name,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block,
Block.Type blockType) |
IRubyObject |
interpret(ThreadContext context,
IRubyObject self,
InterpreterContext interpreterContext,
RubyModule implClass,
String name,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
Block block,
Block.Type blockType) |
protected static void |
interpretFloatOp(AluInstr instr,
Operation op,
double[] floats,
boolean[] booleans) |
protected static void |
interpretIntOp(AluInstr instr,
Operation op,
long[] fixnums,
boolean[] booleans) |
protected static void |
processBookKeepingOp(ThreadContext context,
Instr instr,
Operation operation,
String name,
IRubyObject[] args,
IRubyObject self,
Block block,
Block.Type blockType,
RubyModule implClass) |
protected static void |
processCall(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
Object[] temp,
IRubyObject self) |
protected static void |
processOtherOp(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
Object[] temp,
IRubyObject self,
Block.Type blockType,
double[] floats,
long[] fixnums,
boolean[] booleans) |
protected static IRubyObject |
processReturnOp(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
Object[] temp,
IRubyObject self,
Block.Type blockType,
StaticScope currScope) |
protected static void |
receiveArg(ThreadContext context,
Instr i,
Operation operation,
IRubyObject[] args,
boolean acceptsKeywordArgument,
DynamicScope currDynScope,
Object[] temp,
Object exception,
Block block) |
protected static Object |
retrieveOp(Operand r,
ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
StaticScope currScope,
Object[] temp) |
protected static void |
setResult(Object[] temp,
DynamicScope currDynScope,
Instr instr,
Object result) |
protected static void |
setResult(Object[] temp,
DynamicScope currDynScope,
Variable resultVar,
Object result) |
public IRubyObject interpret(ThreadContext context, IRubyObject self, InterpreterContext interpreterContext, RubyModule implClass, String name, Block block, Block.Type blockType)
public IRubyObject interpret(ThreadContext context, IRubyObject self, InterpreterContext interpreterContext, RubyModule implClass, String name, IRubyObject arg1, Block block, Block.Type blockType)
public IRubyObject interpret(ThreadContext context, IRubyObject self, InterpreterContext interpreterContext, RubyModule implClass, String name, IRubyObject arg1, IRubyObject arg2, Block block, Block.Type blockType)
public IRubyObject interpret(ThreadContext context, IRubyObject self, InterpreterContext interpreterContext, RubyModule implClass, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block, Block.Type blockType)
public IRubyObject interpret(ThreadContext context, IRubyObject self, InterpreterContext interpreterContext, RubyModule implClass, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, Block block, Block.Type blockType)
public IRubyObject interpret(ThreadContext context, IRubyObject self, InterpreterContext interpreterContext, RubyModule implClass, String name, IRubyObject[] args, Block block, Block.Type blockType)
protected static void interpretIntOp(AluInstr instr, Operation op, long[] fixnums, boolean[] booleans)
protected static void interpretFloatOp(AluInstr instr, Operation op, double[] floats, boolean[] booleans)
protected static void receiveArg(ThreadContext context, Instr i, Operation operation, IRubyObject[] args, boolean acceptsKeywordArgument, DynamicScope currDynScope, Object[] temp, Object exception, Block block)
protected static void processCall(ThreadContext context, Instr instr, Operation operation, DynamicScope currDynScope, StaticScope currScope, Object[] temp, IRubyObject self)
protected static void processBookKeepingOp(ThreadContext context, Instr instr, Operation operation, String name, IRubyObject[] args, IRubyObject self, Block block, Block.Type blockType, RubyModule implClass)
protected static IRubyObject processReturnOp(ThreadContext context, Instr instr, Operation operation, DynamicScope currDynScope, Object[] temp, IRubyObject self, Block.Type blockType, StaticScope currScope)
protected static void processOtherOp(ThreadContext context, Instr instr, Operation operation, DynamicScope currDynScope, StaticScope currScope, Object[] temp, IRubyObject self, Block.Type blockType, double[] floats, long[] fixnums, boolean[] booleans)
protected static void extractToMethodToAvoidC2Crash(Instr instr, Throwable t)
protected static void setResult(Object[] temp, DynamicScope currDynScope, Variable resultVar, Object result)
protected static void setResult(Object[] temp, DynamicScope currDynScope, Instr instr, Object result)
protected static Object retrieveOp(Operand r, ThreadContext context, IRubyObject self, DynamicScope currDynScope, StaticScope currScope, Object[] temp)
Copyright © 2001-2015 JRuby. All Rights Reserved.