public void UndefineLocal(LocalDefinition definition, int end) { VariableScope scope = _variables[definition.Parameter]; scope.Stop = end; if (scope.Parent != null) { _variables[definition.Parameter] = scope.Parent; } else { _variables.Remove(definition.Parameter); } _localCount--; }
public void UndefineLocal(LocalDefinition definition, int end) { var scope = _variables[definition.Parameter]; scope.Stop = end; if (scope.Parent != null) { _variables[definition.Parameter] = scope.Parent; } else { _variables.Remove(definition.Parameter); } _localCount--; }