Skip to content

Commit eb54aef

Browse files
committed
Small optimization/cleanup
1 parent 6b01260 commit eb54aef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

compiler/src/dotty/tools/dotc/transform/Pickler.scala

+5-5
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ class Pickler extends Phase {
7878
finally tastyOutput.close()
7979
}
8080

81-
def rawBytes = // not needed right now, but useful to print raw format.
82-
pickled.iterator.grouped(10).toList.zipWithIndex.map {
83-
case (row, i) => s"${i}0: ${row.mkString(" ")}"
84-
}
81+
// def rawBytes = // not needed right now, but useful to print raw format.
82+
// pickled.iterator.grouped(10).toList.zipWithIndex.map {
83+
// case (row, i) => s"${i}0: ${row.mkString(" ")}"
84+
// }
8585
// println(i"rawBytes = \n$rawBytes%\n%") // DEBUG
8686
if (pickling ne noPrinter) {
8787
println(i"**** pickled info of $cls")
88-
new TastyPrinter(pickler.assembleParts()).printContents()
88+
new TastyPrinter(pickled).printContents()
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)