[squeak-dev] The Trunk: Compiler-nice.263.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 29 10:37:22 UTC 2013


Nicolas Cellier uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-nice.263.mcz

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

Name: Compiler-nice.263
Author: nice
Time: 29 April 2013, 12:36:28.951 pm
UUID: 766022c9-7e62-b341-ade2-351101bd8ba4
Ancestors: Compiler-eem.262

Revert the halt in Encoder>>litIndex:

=============== Diff against Compiler-eem.262 ===============

Item was changed:
  ----- Method: Encoder>>litIndex: (in category 'encoding') -----
  litIndex: literal
  	| p |
- 	(literal isVariableBinding and: [literalStream originalContents identityIncludes: literal]) ifTrue:
- 		[self halt].
  	p := literalStream position.
  	p = 256 ifTrue:
  		[self notify: 'More than 256 literals referenced. 
  You must split or otherwise simplify this method.
  The 257th literal is: ', literal printString. ^nil].
  		"Would like to show where it is in the source code, 
  		 but that info is hard to get."
  	literalStream nextPut: literal.
  	^ p!



More information about the Squeak-dev mailing list