[squeak-dev] The Trunk: Compiler-eem.346.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Apr 6 17:59:43 UTC 2017


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]!



More information about the Squeak-dev mailing list