summaryrefslogtreecommitdiff
path: root/sources/scalac/backend
Commit message (Collapse)AuthorAgeFilesLines
* Removed old Scalac code in sources and various ...Gilles Dubochet2005-12-185-7517/+0
| | | | | Removed old Scalac code in sources and various other obsolete elements.
* Added arithmetic operations to Long for Int, Sh...Iulian Dragos2005-12-151-14/+14
| | | | | Added arithmetic operations to Long for Int, Short, Char, Byte.
* Added primitive operations to (Byte|Char|Short|...Iulian Dragos2005-12-051-56/+56
| | | | | | Added primitive operations to (Byte|Char|Short|Int).java so that less boxing is done.
* Added scala._trait_ to the list of special attr...mihaylov2005-10-041-1/+3
| | | | | Added scala._trait_ to the list of special attributes
* Removed the special handling of the += and -= m...mihaylov2005-10-041-34/+1
| | | | | | Removed the special handling of the += and -= methods for delegates. They are now treated as syntactic sugar and expanded by the analyzer
* Added support for applying .NET attributesmihaylov2005-10-031-16/+91
|
* Added delegate supportmihaylov2005-07-072-3/+150
| | | | | Credits: Most of the work was done by Martin Rubli as a semester project
* Throw an exception if the jump width adjustment...mihaylov2005-06-281-1/+2
| | | | | Throw an exception if the jump width adjustment fails
* Added support for the cloneable, serializable a...mihaylov2005-06-241-9/+31
| | | | | Added support for the cloneable, serializable and transient attributes
* Implemented support for the scala.Cloneable att...mihaylov2005-06-241-7/+14
| | | | | Implemented support for the scala.Cloneable attribute
* Implemented support for the scala.cloneable att...mihaylov2005-06-241-10/+13
| | | | | Implemented support for the scala.cloneable attribute
* Added support for the transient and volatile at...mihaylov2005-06-091-4/+19
| | | | | Added support for the transient and volatile attributes
* - Implemented support for the scala.SerialVersi...mihaylov2005-06-071-58/+20
| | | | | | | - 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...mihaylov2005-05-291-1/+8
| | | | | Initial support for attributes - only works for the scala.serializable attribute
* - rolled-back to revision 1.103.michelou2005-05-271-24/+2
|
* - made Scala traits implement java.io.Serializa...michelou2005-05-261-2/+24
| | | | | - made Scala traits implement java.io.Serializable in 'enterClass'.
* Do not set the *static* modifier for classes.mihaylov2005-05-261-0/+1
| | | | | | difference in practice but in the JVM specification it is not listed among the applicable modifiers for classes.
* Create class constructors only if necessarymihaylov2005-05-261-31/+39
|
* - Added method "ne" in class AnyRefpaltherr2005-04-114-6/+11
|
* Fixed the implicit coercion of Enums to their u...mihaylov2005-04-051-3/+2
| | | | | Fixed the implicit coercion of Enums to their underlying type
* Don't emit widening casts.mihaylov2005-03-291-1/+2
|
* - introduced isInstanceOf$erased and asInstance...schinz2005-03-262-4/+4
| | | | | | | | | | | | | | | | | - 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, whi...schinz2005-03-141-0/+3
| | | | | | - 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 ...mihaylov2005-03-011-1/+3
| | | | | | - Correctly differentiate between methods that differ only in the return type
* - Give private inner classes assembly visibility.mihaylov2005-03-011-1/+5
| | | | | | | 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 compila...mihaylov2004-12-141-1/+0
| | | | | | Removed in import that prevented proper compilation from the CVS repository
* [MSIL] Prevent the loading of synthetic Scala c...mihaylov2004-12-132-18/+33
| | | | | | [MSIL] Prevent the loading of synthetic Scala classes by marking them with a special attribute.
* - Disabled generation of .symbl filespaltherr2004-12-131-9/+13
|
* - Removed GenJVMPhase, GenMSILPhse and GenJVMFr...paltherr2004-12-085-123/+29
| | | | | | | | - 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(CompilationU...paltherr2004-12-072-4/+9
| | | | | | | - 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 fail methods in class Globalpaltherr2004-12-031-4/+3
|
* - Removed generation of scala attribute in clas...paltherr2004-12-021-7/+7
| | | | | - Removed generation of scala attribute in class files
* - Added generation of .symbl filespaltherr2004-11-301-0/+11
|
* - Added method writeSymblFilepaltherr2004-11-301-16/+22
|
* - Replaced global.fail by errors or abortspaltherr2004-11-301-9/+10
|
* - Added method writeClassFilepaltherr2004-11-301-14/+17
|
* - generate local variable table (patch submitte...schinz2004-11-291-2/+35
| | | | | | - generate local variable table (patch submitted by Ross Judson <rjudson@managedobjects.com>) when the "-g" switch is specified
* - Removed Function1 and ScalaObject from Array ...paltherr2004-11-161-1/+1
| | | | | - Removed Function1 and ScalaObject from Array superclasses
* - changed the way the class initialisation meth...schinz2004-10-141-56/+70
| | | | | | | | - 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
* - Improved module name handlingmihaylov2004-10-071-1/+2
|
* - Separate the directory and name part of the a...mihaylov2004-10-061-18/+25
| | | | | | - Separate the directory and name part of the assembly name specified with the -o option
* - Properly distinguish between scala.Unit and voidmihaylov2004-10-061-24/+27
|
* - Clear the exit label in Assign nodes processingmihaylov2004-09-141-19/+12
| | | | | | - 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 n...mihaylov2004-09-141-33/+3
| | | | | - Cleaned up some old comments and added some new ones
* - Don't generate unreachable branches; used to ...mihaylov2004-09-141-33/+50
| | | | | | | - 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
* - Fix handling of switches and labelsmihaylov2004-09-101-27/+33
|
* - Several bugfixes and small optimizationsmihaylov2004-09-092-33/+138
|
* - Small fixesmihaylov2004-07-202-54/+134
|
* - For the value types, do not consider the ==(O...mihaylov2004-07-201-16/+57
| | | | | | - For the value types, do not consider the ==(Object) method as primitive
* *** empty log message ***Martin Odersky2004-07-082-5/+6
|