internal void AddLabelInfo(LabelTarget target, LabelInfo info) { Debug.Assert(CanJumpInto); if (_labels == null) { _labels = new HybridReferenceDictionary <LabelTarget, LabelInfo>(); } _labels[target] = info; }
internal Interpreter(string name, LocalVariables locals, HybridReferenceDictionary <LabelTarget, BranchLabel> labelMapping, InstructionArray instructions, DebugInfo[] debugInfos) { Name = name; LocalCount = locals.LocalCount; LabelMapping = labelMapping; ClosureVariables = locals.ClosureVariables; _instructions = instructions; _objects = instructions.Objects; _labels = instructions.Labels; _debugInfos = debugInfos; }