File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,6 @@ class Run(comp: Compiler)(implicit ctx: Context) {
92
92
for (unit <- units)
93
93
Stats .record(" retained typed trees at end" , unit.tpdTree.treeSize)
94
94
Stats .record(" total trees at end" , ast.Trees .ntrees)
95
- println(s " bts counts: ${SymDenotations .btsCount.deep}" )
96
- println(s " invalidate count: ${SymDenotations .invalidateCount}" )
97
95
}
98
96
99
97
private sealed trait PrintedTree
Original file line number Diff line number Diff line change @@ -1421,7 +1421,6 @@ object SymDenotations {
1421
1421
}
1422
1422
def emptyParentsExpected =
1423
1423
is(Package ) || (symbol == defn.AnyClass ) || ctx.erasedTypes && (symbol == defn.ObjectClass )
1424
- btsCount(ctx.phaseId) += 1
1425
1424
if (classParents.isEmpty && ! emptyParentsExpected)
1426
1425
onBehalf.signalProvisional()
1427
1426
(classSymbol :: addParentBaseClasses(classParents, Nil ),
@@ -2041,8 +2040,7 @@ object SymDenotations {
2041
2040
final def isValid (implicit ctx : Context ): Boolean = valid && isValidAt(ctx.phase)
2042
2041
2043
2042
def invalidate (): Unit =
2044
- if (valid && ! locked) {
2045
- invalidateCount += 1
2043
+ if (isValid && ! locked) {
2046
2044
cache = null
2047
2045
valid = false
2048
2046
invalidateDependents()
@@ -2089,7 +2087,4 @@ object SymDenotations {
2089
2087
}
2090
2088
2091
2089
@ sharable private var indent = 0 // for completions printing
2092
-
2093
- @ sharable val btsCount = new Array [Int ](Periods .MaxPossiblePhaseId + 1 )
2094
- @ sharable var invalidateCount = 0
2095
2090
}
You can’t perform that action at this time.
0 commit comments