[squeak-dev] Tests | #testMaxLiteralsWithClassReferenceInClosure works for SistaV1 bytecode set but not V3PlusClosures

Marcel Taeumel marcel.taeumel at hpi.de
Thu Jul 4 12:04:05 UTC 2019


Hi all!

The test CompilerTest >> #testMaxLiteralsWithClassReferenceInClosure fails for V3PlusClosures. It is off by 5 literals.

Could it be because V3PlusClosures inlines blocks in the same compiled method but SistaV1 extracts them into an extra compiled block?

I was wondering whether that "[ DateAndTime now. Date today. Time ]." accounts for 5 literals ... even though I am only seeing 4. :-)

Any thoughts?

Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190704/4ac6fc7e/attachment.html>


More information about the Squeak-dev mailing list