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