package optimizer import "fmt" // debugWithOriginals wraps the current state with a debug comment header func debugWithOriginals(lines []asmLine, phase string) []asmLine { header := fmt.Sprintf("; --- %s ---", phase) result := []asmLine{{text: header, isComment: true}} result = append(result, lines...) return result }