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

commits at source.squeak.org commits at source.squeak.org
Tue Apr 24 18:26:09 UTC 2018


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

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

Name: Kernel-eem.1166
Author: eem
Time: 24 April 2018, 11:25:52.062506 am
UUID: e2549724-d2f2-41f4-9582-6db17efefcf0
Ancestors: Kernel-eem.1165

Revert the previous convenience.  It isn't.  There is a better way; see MonticelloConfigurations-eem.153.

Implement FullBlockClosure>>size.  (Bizarrely BlockClosure>>sized answers the numer of bytes of bytecode in the block; I don't think this is useful :-) )

=============== Diff against Kernel-eem.1165 ===============

Item was removed:
- ----- Method: Deprecation class>>withDeprecationWarningsSuppressed: (in category 'utilities') -----
- withDeprecationWarningsSuppressed: aBlock
- 	| savedShowDeprecationWarnings |
- 	savedShowDeprecationWarnings := ShowDeprecationWarnings.
- 	ShowDeprecationWarnings := false.
- 	^aBlock ensure: [ShowDeprecationWarnings := savedShowDeprecationWarnings]!

Item was added:
+ ----- Method: FullBlockClosure>>size (in category 'accessing') -----
+ size
+ 	"Answer closure's bytecode size (number of bytes) by accessing
+ 	 the closure's method."
+ 	^self compiledBlock endPC - self compiledBlock initialPC + 1!



More information about the Packages mailing list