[squeak-dev] The Trunk: Kernel-eem.1346.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 9 18:55:48 UTC 2020


Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1346.mcz

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

Name: Kernel-eem.1346
Author: eem
Time: 9 October 2020, 11:55:45.364947 am
UUID: 99f2d20b-c9bf-4bec-a8f3-c681d619ec12
Ancestors: Kernel-eem.1345

Have compileCue:environment:classified:withStamp:notifying:logSource: pay attention to methodTrailer if stored in a CompilationCue.

=============== Diff against Kernel-eem.1345 ===============

Item was changed:
  ----- Method: ClassDescription>>compileCue:environment:classified:withStamp:notifying:logSource: (in category 'compiling') -----
  compileCue: compilationCue environment: anEnvironment classified: category withStamp: changeStamp notifying: requestor logSource: logSource
  
  	| methodAndNode methodNode selector |
  	methodNode := self newCompiler compile: compilationCue ifFail: [^nil].
  	methodAndNode := CompiledMethodWithNode 
  							generateMethodFromNode: methodNode 
+ 							trailer: (compilationCue methodTrailer ifNil:
+ 										[self defaultMethodTrailerIfLogSource: logSource]).
- 							trailer: (self defaultMethodTrailerIfLogSource: logSource).
  	selector := methodAndNode selector.
  	logSource ifTrue:
  		[self
  			logMethodSource: compilationCue source
  			forMethodWithNode: methodAndNode 
  			inCategory: category
  			withStamp: changeStamp
  			notifying: requestor.
  		RecentMessages default
  			recordSelector: selector
  			forClass: methodAndNode method methodClass
  			inEnvironment: anEnvironment].
  	self
  		addAndClassifySelector: selector
  		withMethod: methodAndNode method
  		inProtocol: category
  		notifying: requestor.
  	self instanceSide
  		noteCompilationOf: selector
  		meta: self isClassSide.
  	^selector!



More information about the Squeak-dev mailing list