#795 In inlining known to take `value`ables, inline the call to ._value if non-block expression passed

Open
opened 8 years ago by nero · 0 comments

Originally at 2013-12-26T13:11:37Z by Herbert Vojčík

foo ifTrue: [ ... ] ifFalse: aBlock is not inlined but instead compiled as call to _ifTrue_ifFalse_ and the [ ... ] is IIFE'd and contextified; though we know aBlock would be sent value in false case and [ ... ] be run in true case.

SImilarly for similar type inlines.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Originally at 2013-12-26T13:11:37Z by Herbert Vojčík `foo ifTrue: [ ... ] ifFalse: aBlock` is not inlined but instead compiled as call to `_ifTrue_ifFalse_` and the `[ ... ]` is IIFE'd and contextified; though we know `aBlock` would be sent `value` in false case and `[ ... ]` be run in true case. SImilarly for similar type inlines. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7400882-in-inlining-known-to-take-value-ables-inline-the-call-to-_value-if-non-block-expression-passed?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github). </bountysource-plugin>
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.