[squeak-dev] The Trunk: Morphic-eem.168.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Sep 6 05:13:00 UTC 2009


Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-eem.168.mcz

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

Name: Morphic-eem.168
Author: eem
Time: 5 September 2009, 5:05:03 am
UUID: 0761a5a2-9392-4af5-b03c-320a122db616
Ancestors: Morphic-Igor.Stasenko.167

Sixth package of eight in closure compiler fixes 9/5/2009.

Use new temp encoding scheme in TextEditor>>compileSelectionFor:in:

=============== Diff against Morphic-Igor.Stasenko.167 ===============

Item was changed:
  ----- Method: TextEditor>>compileSelectionFor:in: (in category 'do-its') -----
  compileSelectionFor: anObject in: evalContext
  
  	| methodNode method |
+ 	methodNode := [Compiler new
- 	methodNode _ [Compiler new
  		compileNoPattern: self selectionAsStream
  		in: anObject class
  		context: evalContext
  		notifying: self
  		ifFail: [^nil]]
  			on: OutOfScopeNotification
  			do: [:ex | ex resume: true].
+ 	method := methodNode generate: #(0 0 0 0).
+ 	^method copyWithTempsFromMethodNode: methodNode!
- 	method _ methodNode generate: #(0 0 0 0).
- 	^method copyWithTempNames: methodNode tempNames!




More information about the Squeak-dev mailing list