public FrameDebugInfo(InstructionEnumerator instructions, FunctionSignature signature, ExecutionScope scope = null) { _instructions = instructions; FunctionSignature = signature; Scope = scope; }
public ExecutionContext(Computer computer, SignatureResolver resolver) { Computer = computer; SignatureResolver = resolver; Instructions = new InstructionEnumerator(); FrameDebugInfo mainFrame = new FrameDebugInfo(Instructions, FunctionSignature.Main); Memory = new Memory(new SprakConverter(resolver, this), mainFrame); Reset(); }