Skip to content

Commit 16671a0

Browse files
committed
Go to 7 bits for phase numbers
We were pushing the limit of 64 phases before.
1 parent 47d2084 commit 16671a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Periods.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ object Periods {
153153
final val FirstPhaseId = 1
154154

155155
/** The number of bits needed to encode a phase identifier. */
156-
final val PhaseWidth = 6
156+
final val PhaseWidth = 7
157157
final val PhaseMask = (1 << PhaseWidth) - 1
158158
final val MaxPossiblePhaseId = PhaseMask
159159
}

0 commit comments

Comments
 (0)