[squeak-dev] FFI: FFI-Kernel-mt.189.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Aug 9 13:43:48 UTC 2021


Marcel Taeumel uploaded a new version of FFI-Kernel to project FFI:
http://source.squeak.org/FFI/FFI-Kernel-mt.189.mcz

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

Name: FFI-Kernel-mt.189
Author: mt
Time: 9 August 2021, 3:43:47.361391 pm
UUID: 1a3d3ef4-9d88-7d41-950b-33661825b87c
Ancestors: FFI-Kernel-mt.188

Fixes a glitch in initial FFI loading. Clean up a instVar shadow.

=============== Diff against FFI-Kernel-mt.188 ===============

Item was changed:
  ----- Method: ExternalStructure class>>doneCompiling (in category 'class management') -----
  doneCompiling
  	"Base class changed to something that is an external structure now."
  
+ 	self isSkipped ifTrue: [^ self].
  	self compileFieldsSafely.
  	self externalType becomeKnownTypeSafely.!

Item was changed:
  ----- Method: ExternalStructure class>>maybeCompileAccessor:withSelector: (in category 'field definition - support') -----
+ maybeCompileAccessor: newSourceString withSelector: selector
- maybeCompileAccessor: aString withSelector: selector
  	"Only compile if category or source changed."
  	
+ 	| newCategory existingReference |
+ 	newCategory := #'*autogenerated - accessing'.
+ 	((existingReference := MethodReference class: self selector: selector) isValid
+ 		and: [existingReference category = newCategory]
+ 		and: [existingReference sourceString = newSourceString])
- 	| category ref |
- 	category := #'*autogenerated - accessing'.
- 	((ref := MethodReference class: self selector: selector) isValid
- 		and: [ref category = category]
- 		and: [ref sourceString = aString])
  			ifTrue: [^ self].
+ 	self compile: newSourceString classified: newCategory.!
- 	self compile: aString classified: category.!



More information about the Squeak-dev mailing list