| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Removed old Scalac code in sources and various other obsolete elements.
|
|
|
|
|
| |
Added arithmetic operations to Long for Int, Short, Char, Byte.
|
|
|
|
|
|
| |
Added primitive operations to (Byte|Char|Short|Int).java so that less
boxing is done.
|
|
|
|
|
| |
Added scala._trait_ to the list of special attributes
|
|
|
|
|
|
| |
Removed the special handling of the += and -= methods for delegates.
They are now treated as syntactic sugar and expanded by the analyzer
|
| |
|
|
|
|
|
| |
Credits: Most of the work was done by Martin Rubli as a semester project
|
|
|
|
|
| |
Throw an exception if the jump width adjustment fails
|
|
|
|
|
| |
Added support for the cloneable, serializable and transient attributes
|
|
|
|
|
| |
Implemented support for the scala.Cloneable attribute
|
|
|
|
|
| |
Implemented support for the scala.cloneable attribute
|
|
|
|
|
| |
Added support for the transient and volatile attributes
|
|
|
|
|
|
|
| |
- Implemented support for the scala.SerialVersionUID attribute - Removed
code related to the hack previously used to set the serialVersionUID
field
|
|
|
|
|
| |
Initial support for attributes - only works for the scala.serializable attribute
|
| |
|
|
|
|
|
| |
- made Scala traits implement java.io.Serializable in 'enterClass'.
|
|
|
|
|
|
| |
difference in practice but in the JVM specification it is not listed
among the applicable modifiers for classes.
|
| |
|
| |
|
|
|
|
|
| |
Fixed the implicit coercion of Enums to their underlying type
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- introduced isInstanceOf$erased and asInstanceOf$erased methods, which
work on the erased types; things to note:
* before TypesAsValues phase, either variant can be used, although
the erased ones need to be used with caution, when speed
matters;
* after TypesAsValues phase, only the erased variants should be
used (done automatically by TreeGen);
* when run time types are disabled, the TypesAsValues phase is not
skipped anymore: it is turned into a trivial phase which
rewrites all non-erased instanceof/casts into erased ones.
|
|
|
|
|
|
| |
- added a new kind of literal, SYMBOL_NAME, which is a string literal
whose value is the name of the attached symbol
|
|
|
|
|
|
| |
- Correctly differentiate between methods that differ only in the return
type
|
|
|
|
|
|
|
| |
in the interface of a Scala class and if they are private they are
not accessible from the implementation class. Giving them assembly
visibility solves the problem.
|
|
|
|
|
|
| |
Removed in import that prevented proper compilation from the CVS
repository
|
|
|
|
|
|
| |
[MSIL] Prevent the loading of synthetic Scala classes by marking them
with a special attribute.
|
| |
|
|
|
|
|
|
|
|
| |
- Removed GenJVMPhase, GenMSILPhse and GenJVMFromICodePhase. - Added
method Global.dump. - Added a call to Global.dump in class Main. - The
backends are no longer phases. They are now invoked by the new method
dump of class Global.
|
|
|
|
|
|
|
| |
- Removed method Transformer.apply(CompilationUnit[] - Added method )
Phase.apply(CompilationUnit - Adapted most phases to implement method )
Phase.apply(CompilationUnit instead of Phase.apply(CompilationUnit[] )
|
| |
|
|
|
|
|
| |
- Removed generation of scala attribute in class files
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- generate local variable table (patch submitted by Ross Judson
<rjudson@managedobjects.com>) when the "-g" switch is specified
|
|
|
|
|
| |
- Removed Function1 and ScalaObject from Array superclasses
|
|
|
|
|
|
|
|
| |
- changed the way the class initialisation method (<clinit>) is built,
so that it works when such a method is already present in the class
being compiled, - replaced modifiersStoJ by javaModifiers function, to
handle static members correctly
|
| |
|
|
|
|
|
|
| |
- Separate the directory and name part of the assembly name specified
with the -o option
|
| |
|
|
|
|
|
|
| |
- Avoid alocating new local variable for the selector of Switch when it
already is a local variable, an argument or a literal
|
|
|
|
|
| |
- Cleaned up some old comments and added some new ones
|
|
|
|
|
|
|
| |
- Don't generate unreachable branches; used to happen after a jump on a
- label Avoid jumping to a branch; always try to jump to the outermost
- location
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- For the value types, do not consider the ==(Object) method as
primitive
|
| |
|