diff options
author | Paul Phillips <paulp@improving.org> | 2010-10-11 18:35:21 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-10-11 18:35:21 +0000 |
commit | 5c83be3b2bb200f53abd5e3c6667e78ce01ebe49 (patch) | |
tree | 7fb7af5ee916e80ad4c7991fc57c5cab673d36ba /src/build | |
parent | 6abce56ad4eb532ff44db3a7380f01642cb77b92 (diff) | |
download | scala-5c83be3b2bb200f53abd5e3c6667e78ce01ebe49.tar.gz scala-5c83be3b2bb200f53abd5e3c6667e78ce01ebe49.tar.bz2 scala-5c83be3b2bb200f53abd5e3c6667e78ce01ebe49.zip |
Abstracting out the common flags code between S...
Abstracting out the common flags code between Symbol and Modifiers
into HasFlags. This patch includes only the non-invasive changes: the
HasFlags trait is not integrated into those classes. The remainder is
complete but I'm checking this part in case anyone would like to throw
some feedback my way at this point: general comments, or the open issues
noted in comments in HasFlags.scala.
This commit also eliminates the (now unused) MONOMORPHIC flag and
includes utility methods for reflective analysis of a Flags object which
generate code and comments based on the accessors found. See the comment
at the top of symtab.Flags and the flagToString implementation in that
class for illustration.
I haven't tested the very latest, but a slightly older incarnation
without material differences showed no measurable performance change.
No specific review, but comments welcome.
Diffstat (limited to 'src/build')
0 files changed, 0 insertions, 0 deletions