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