public Executive(RuntimeCore runtimeCore, bool isFep = false) { IsExplicitCall = false; Validity.Assert(runtimeCore != null); this.runtimeCore = runtimeCore; enableLogging = runtimeCore.Options.Verbose; exe = runtimeCore.DSExecutable; istream = null; fepRun = isFep; Properties = new InterpreterProperties(); rmem = runtimeCore.RuntimeMemory; // Execute DS View VM Log // debugFlags = (int)DebugFlags.ENABLE_LOG; bounceType = CallingConvention.BounceType.Implicit; deferedGraphNodes = new List<AssociativeGraph.GraphNode>(); }
public Executive(Core core, bool isFep = false) { isExplicitCall = false; Validity.Assert(core != null); this.core = core; enableLogging = core.Options.Verbose; exe = core.DSExecutable; istream = null; fepRun = isFep; //executingGraphNode = null; //nodeExecutedSameTimes = new List<AssociativeGraph.GraphNode>(); Properties = new InterpreterProperties(); allSSA = new List<AssociativeGraph.GraphNode>(); rmem = core.Rmem; // Execute DS View VM Log // debugFlags = (int)DebugFlags.ENABLE_LOG; bounceType = CallingConvention.BounceType.kImplicit; // Execute DS Debug watch //debugFlags = (int)DebugFlags.ENABLE_LOG | (int)DebugFlags.SPAWN_DEBUGGER; }
private void PushInterpreterProps(InterpreterProperties properties) { runtimeCore.InterpreterProps.Push(new InterpreterProperties(properties)); }