summaryrefslogtreecommitdiff
path: root/lib/fjbg.jar.desired.sha1
Commit message (Collapse)AuthorAgeFilesLines
* Reverted previous commit as I think it is wedgi...Paul Phillips2010-10-171-1/+1
| | | | | | Reverted previous commit as I think it is wedging under -optimise. No review.
* Made some changes to fjbg so when people run in...Paul Phillips2010-10-161-1/+1
| | | | | | | | Made some changes to fjbg so when people run into #1133 at least it will tell them what method was the cause. The fact that ten files are touched in this commit instead of one or two is a testament to the wonder of checked exceptions. No review.
* Found the following inefficiencies in fjbg:Paul Phillips2010-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | ldc being used instead of bipush or sipush. The cheaper instructions were only being used when the argument was typed as byte or short, but an Int in the byte or short range can as easily use them. This also saves an entry in the constant pool. iconst_n not being used except on Ints. Same issue in reverse: pushing short 3 on the stack is cheaper with iconst_3 than with sipush. Example: class A { def f1: Int = 100 // was ldc #X, now bipush 100 def f2: Int = 5000 // was ldc #X, now sipush 5000 def f3: Byte = 2 // was bipush 2, now iconst_2 def f4: Short = 2 // was sipush 2, now iconst_2 } Review by dragos.
* Guard against overflow in fjbg.Paul Phillips2010-09-191-1/+1
|
* Restoring negative literal parsing behavior to ...Paul Phillips2010-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Restoring negative literal parsing behavior to what should be the least surprising option. Thanks much to Johannes Rudolph for identifying the bug in the bytecode generator which needed addressing for us to arrive at proper -0.0 behavior, and for writing the majority of this patch. A '-' followed immediately by either a number or a period should now always be treated as a single numeric literal, which means the minus binds more tightly than anything else. A specific example of how this differs from 2.8 final is: -5.+(10) == 5.0 // and not -15.0 The full range of potentially ambiguous parses involving prefix operators, numbers, and dots is quite large and still needs to be completely and clearly specified. Closes #2378 and #3657, review by odersky, jrudolph.
* Closes #3310 (very large Scala class is compile...Gilles Dubochet2010-04-291-1/+1
| | | | | | Closes #3310 (very large Scala class is compiled to invalid classfile because Scala signature can't fit into constant pool). Review by dragos.
* Scala signature is generated as an annotation (...Gilles Dubochet2010-03-231-1/+1
| | | | | | | | | | | | | Scala signature is generated as an annotation (that is accessible through Java reflection). - compiler generates all pickled Scala signatures as annotations to class files. - compiler can read class files with signature as annotations or old-style signatures as attributes. - Scalap has also been updated to new signatures (contributed by Ilya Sergey: thanks a lot). - FJBG updated to allow entering constant pool strings as byte arrays. - ByteCodecs decode method returns the length of the decoded array. Review by ilyas. Already mostly reviewed by odersky.
* Fixes and test cases for #2087 and #2400.Paul Phillips2009-11-141-1/+1
| | | | | | | fixing a long-standing bug in fjbg and recompiling fjbg.jar, which had the side effect of revealing that the current fjbg jar had never been recompiled with target 1.5, so now it's smaller and (I imagine) faster.
* Fixed stability issues.Iulian Dragos2009-05-141-1/+1
|
* Code to support invoke-dynamic for structural t...Iulian Dragos2009-03-301-1/+1
| | | | | | Code to support invoke-dynamic for structural types. Not yet complete, built around the JSR 292 spec of December 2008.
* One more thing: a 1.4 compatible jar.Iulian Dragos2008-12-111-1/+1
|
* Added experimental invoke dynamic support (JSR2...Iulian Dragos2008-12-111-1/+1
| | | | | Added experimental invoke dynamic support (JSR292).
* Inner classes follow their enclosing class to s...NAME2008-01-311-1/+1
| | | | | | Inner classes follow their enclosing class to satisfy the Eclipse Java compiler
* Fixed ticket #232Iulian Dragos2007-11-141-1/+1
|
* Recompiled fjbg.jar for java 1.4Iulian Dragos2007-06-111-1/+1
|
* Added patch to allow definition of native metho...Iulian Dragos2007-06-091-1/+1
| | | | | | Added patch to allow definition of native methods in Scala (contribution from Stepan Koltsov)
* Fixed many bugs in icodeReader and added basic ...Iulian Dragos2006-10-161-1/+1
| | | | | Fixed many bugs in icodeReader and added basic blocks.
* Updated jars to target java 1.4 and work on 1.4...Iulian Dragos2006-08-241-1/+1
| | | | | Updated jars to target java 1.4 and work on 1.4 VMs
* Fixed bug #680 and #455 (duplicates) by carryin...Iulian Dragos2006-08-221-1/+1
| | | | | | Fixed bug #680 and #455 (duplicates) by carrying more typing context to the backend for method calls.
* Added InnerClasses attribute in classfilesIulian Dragos2006-08-151-1/+1
|
* Fixed bug #634mihaylov2006-06-201-1/+1
|
* Added support for emitting Java annotations int...mihaylov2006-05-171-1/+1
| | | | | Added support for emitting Java annotations into classfiles
* Added fjbg.jar contents to the scala-compiler.j...Iulian Dragos2006-05-081-1/+1
| | | | | | Added fjbg.jar contents to the scala-compiler.jar so that the STARR compiler accepts the new methods in fjbg to build locker.
* Implemented class constants in the backend.Iulian Dragos2006-05-081-1/+1
|
* Switching to the new build system and to the ne...Gilles Dubochet2005-12-191-0/+1
Switching to the new build system and to the new build system. This is a MAJOR commit, so be careful when updating.