Ejemplo n.º 1
0
 public Interpreter(CompiledScript script, ISyscallShim syscallShim)
 {
     _script = script;
     _state  = new RuntimeState(script.NumGlobals);
     _state.MemInfo.UseMemory(script.CalcBaseMemorySize());
     _syscallShim = syscallShim;
 }
Ejemplo n.º 2
0
 public Interpreter(CompiledScript script, RuntimeState state, ISyscallShim syscallShim)
 {
     _script      = script;
     _state       = state;
     _syscallShim = syscallShim;
 }