diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-02 16:37:49 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-02 16:37:49 +0100 |
commit | 16671a00371df2bdbaf6ae7f51b0ec7191ce94f3 (patch) | |
tree | c04c53484db44defd0868d94ddecc9f46e943baa /compiler/src/dotty/tools/dotc/core/Periods.scala | |
parent | 47d208448e614125446c7f294f8231c3fb7108d6 (diff) | |
download | dotty-16671a00371df2bdbaf6ae7f51b0ec7191ce94f3.tar.gz dotty-16671a00371df2bdbaf6ae7f51b0ec7191ce94f3.tar.bz2 dotty-16671a00371df2bdbaf6ae7f51b0ec7191ce94f3.zip |
Go to 7 bits for phase numbers
We were pushing the limit of 64 phases before.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Periods.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/Periods.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Periods.scala b/compiler/src/dotty/tools/dotc/core/Periods.scala index 6efadab7f..29d9d208f 100644 --- a/compiler/src/dotty/tools/dotc/core/Periods.scala +++ b/compiler/src/dotty/tools/dotc/core/Periods.scala @@ -153,7 +153,7 @@ object Periods { final val FirstPhaseId = 1 /** The number of bits needed to encode a phase identifier. */ - final val PhaseWidth = 6 + final val PhaseWidth = 7 final val PhaseMask = (1 << PhaseWidth) - 1 final val MaxPossiblePhaseId = PhaseMask } |