The Trunk: Compiler-eem.346.mcz

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

The Trunk: Compiler-eem.346.mcz

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

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

Name: Compiler-eem.346
Author: eem
Time: 6 April 2017, 10:59:34.976787 am
UUID: 164463e6-4a88-4bbd-a4b6-0b5174a2e181
Ancestors: Compiler-eem.345

Implement genPushNClosureTemps: in BytecodeEncoder so the implementation is shared between V3 and SistaV1.

=============== Diff against Compiler-eem.345 ===============

Item was added:
+ ----- Method: BytecodeEncoder>>genPushNClosureTemps: (in category 'bytecode generation') -----
+ genPushNClosureTemps: numTemps
+ "To reduce the number of bytecodes required, the embedded
+ block closure implementation uses explicit push nil instructions
+ to create block-local temps.  In bytecode sets supporting
+ FullBlockClosure/CompiledBlock this isn't needed and the
+ number of temps is derived from the block method header."
+ numTemps timesRepeat: [self genPushSpecialLiteral: nil]!

Item was removed:
- ----- Method: EncoderForV3PlusClosures>>genPushNClosureTemps: (in category 'bytecode generation') -----
- genPushNClosureTemps: numTemps
- numTemps timesRepeat: [self genPushSpecialLiteral: nil]!