We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20c6ab2 commit f085387Copy full SHA for f085387
src/dotty/tools/dotc/core/Periods.scala
@@ -47,8 +47,8 @@ object Periods {
47
*
48
* sign, always 0 1 bit
49
* runid 21 bits
50
- * last phase id: 5 bits
51
- * #phases before last: 5 bits
+ * last phase id: 6 bits
+ * #phases before last: 6 bits
52
53
* // Dmitry: sign == 0 isn't actually always true, in some cases phaseId == -1 is used for shifts, that easily creates code < 0
54
*/
@@ -153,7 +153,7 @@ object Periods {
153
final val FirstPhaseId = 1
154
155
/** The number of bits needed to encode a phase identifier. */
156
- final val PhaseWidth = 5
+ final val PhaseWidth = 6
157
final val PhaseMask = (1 << PhaseWidth) - 1
158
final val MaxPossiblePhaseId = PhaseMask
159
}
0 commit comments