[Pkg] The Trunk: Kernel-eem.475.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 12 21:07:50 UTC 2010

Eliot Miranda uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-eem.475
Author: eem
Time: 12 August 2010, 2:07:00.805 pm
UUID: 299acbbc-d538-4103-8ce2-29099b29d6b9
Ancestors: Kernel-eem.474

Fix CompiledMethod>>decompileWithTemps to live up to its name.

=============== Diff against Kernel-eem.474 ===============

Item was changed:
  ----- Method: CompiledMethod>>decompileWithTemps (in category 'decompiling') -----
  	"Return the decompiled parse tree that represents self, but get the temp names
  	 by compiling the sourcecode..."
  	|  class selector |
  	class := self methodClass ifNil: [Object].
  	selector := self selector ifNil: [self defaultSelector].
  	(self fileIndex > 0 and: [(SourceFiles at: self fileIndex) isNil]) ifTrue: [
  			"Emergency or no source file -- decompile without temp names "
  			^self decompile.
+ 	^((self decompilerClass new withTempNames: self methodNode schematicTempNamesString)
- 	^((self decompilerClass new withTempNames: self methodNode tempNames)
  						decompile: selector
  						in: class
  						method: self)!

More information about the Packages mailing list