The Trunk: Compiler-ul.103.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Compiler-ul.103.mcz

commits-2
Levente Uzonyi uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-ul.103.mcz

==================== Summary ====================

Name: Compiler-ul.103
Author: ul
Time: 6 December 2009, 8:00:45 am
UUID: 8100e26f-3d13-9f48-9218-a8fd95ca5347
Ancestors: Compiler-ul.102

- faster Scanner >> #initScannerForTokenization (by a factor of ~3.38)

=============== Diff against Compiler-ul.102 ===============

Item was changed:
  ----- Method: Scanner>>initScannerForTokenization (in category 'initialize-release') -----
  initScannerForTokenization
  "Use a version of typeTable that doesn't raise xIllegal when enocuntering an _"
  | underscoreIndex |
+ underscoreIndex := typeTable identityIndexOf: #xUnderscore ifAbsent: [^self].
- underscoreIndex := typeTable indexOf: #xUnderscore ifAbsent: [^self].
  typeTable := typeTable copy.
  typeTable at: underscoreIndex put: #xUnderscoreForTokenization!