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

commits at source.squeak.org commits at source.squeak.org
Tue Jul 5 23:06:17 UTC 2022


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

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

Name: Compiler-eem.479
Author: eem
Time: 5 July 2022, 4:06:16.298061 pm
UUID: 61d1f08e-6212-45d1-b07a-8d4d39ce7c2f
Ancestors: Compiler-eem.478

Add BytecodeEncoder class>>isReturnSelfFromMethodAt:in: and Sista & V3 implementations so that CompiledCode>>hasMethodReturn can be implemented correctly.

=============== Diff against Compiler-eem.478 ===============

Item was added:
+ ----- Method: BytecodeEncoder class>>isReturnSelfFromMethodAt:in: (in category 'instruction stream support') -----
+ isReturnSelfFromMethodAt: pc in: method
+ 	"Answer whether the bytecode at pc is a return self from method."
+ 
+ 	self subclassResponsibility!

Item was added:
+ ----- Method: EncoderForSistaV1 class>>isReturnSelfFromMethodAt:in: (in category 'instruction stream support') -----
+ isReturnSelfFromMethodAt: pc in: method
+ 	"Answer whether the bytecode at pc is a return self from method."
+ 
+ 	^(method at: pc) = 88!

Item was added:
+ ----- Method: EncoderForV3 class>>isReturnSelfFromMethodAt:in: (in category 'instruction stream support') -----
+ isReturnSelfFromMethodAt: pc in: method
+ 	"Answer whether the bytecode at pc is a return self from method."
+ 
+ 	^(method at: pc) = 120!



More information about the Squeak-dev mailing list