The Trunk: Kernel-eem.1178.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-eem.1178.mcz

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

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

Name: Kernel-eem.1178
Author: eem
Time: 16 June 2018, 2:33:01.418518 pm
UUID: 66a0a896-ea64-4d51-8bb9-14342bad7b15
Ancestors: Kernel-ul.1177

More accurate & informative symbolic printing for pushFullClosure:numCopied:

=============== Diff against Kernel-ul.1177 ===============

Item was changed:
  ----- Method: InstructionPrinter>>pushFullClosure:numCopied: (in category 'printing') -----
  pushFullClosure: aCompiledBlock numCopied: numCopied
+ | literalIndex |
+ literalIndex := method literals identityIndexOf: aCompiledBlock.
+ literalIndex = 0
+ ifTrue:
+ [self print: 'closureNumCopied: ', numCopied printString
+ , ' numArgs: ', aCompiledBlock numArgs printString]
+ ifFalse:
+ [self print: 'pushFullClosure: (self literalAt: ', literalIndex printString,
+ ') numCopied: ', numCopied printString,
+ ' "numArgs: ', aCompiledBlock numArgs printString, '"']!
- self print: 'closureNumCopied: ', numCopied printString
- , ' numArgs: ', aCompiledBlock numArgs printString!