aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/unpickleScala2
diff options
context:
space:
mode:
authorSébastien Doeraene <sjrdoeraene@gmail.com>2016-02-05 16:12:25 +0100
committerSébastien Doeraene <sjrdoeraene@gmail.com>2016-03-31 15:22:51 +0200
commitf38921fee213da3d22cf28eaa5cbec935f7d3734 (patch)
tree514a20f1b03bb201934b2792698665e54f0e4054 /src/dotty/tools/dotc/core/unpickleScala2
parent2fe8ad5d6dbcac4de9ee263ab30d4cc02ceab9ca (diff)
downloaddotty-f38921fee213da3d22cf28eaa5cbec935f7d3734.tar.gz
dotty-f38921fee213da3d22cf28eaa5cbec935f7d3734.tar.bz2
dotty-f38921fee213da3d22cf28eaa5cbec935f7d3734.zip
Fix #854: Optimize matches on primitive constants as switches.
This does not yet unable the checks that `@switch` verifies that the compiler was indeed able to perform the optimization. This implementation also does not support guards. A match with guards will never be optimized as a switch.
Diffstat (limited to 'src/dotty/tools/dotc/core/unpickleScala2')
0 files changed, 0 insertions, 0 deletions