public void Emit(ISourcePosition position, Instruction ins) { var index = Function.Code.Count; if (ins.Id != null) ins = ins.With(id: Loader.CacheString(ins.Id)); Function.Code.Add(ins); SourceMapping.Add(index, position); }