File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,11 @@ object Periods {
136
136
137
137
final val Nowhere = new Period (0 )
138
138
139
- final val InitialPeriod = Period (InitialRunId , FirstPhaseId )
140
139
141
- final val InvalidPeriod = Period (NoRunId , NoPhaseId )
140
+ /** The number of bits needed to encode a phase identifier. */
141
+ final val PhaseWidth = 6
142
+ final val PhaseMask = (1 << PhaseWidth ) - 1
143
+ final val MaxPossiblePhaseId = PhaseMask
142
144
143
145
/** An ordinal number for compiler runs. First run has number 1. */
144
146
type RunId = Int
@@ -152,8 +154,8 @@ object Periods {
152
154
final val NoPhaseId = 0
153
155
final val FirstPhaseId = 1
154
156
155
- /** The number of bits needed to encode a phase identifier. */
156
- final val PhaseWidth = 6
157
- final val PhaseMask = ( 1 << PhaseWidth ) - 1
158
- final val MaxPossiblePhaseId = PhaseMask
157
+
158
+ final val InitialPeriod = Period ( InitialRunId , FirstPhaseId )
159
+
160
+ final val InvalidPeriod = Period ( NoRunId , NoPhaseId )
159
161
}
You can’t perform that action at this time.
0 commit comments