Denis Zharkov
5dbc04abbb
Refine returns codegen for suspend functions
...
This change should make the logic a bit more simple.
For all suspend functions/coroutines treat them in expression codegen
like they return boxed version of the original type.
Everything works fine then, except Unit type functions:
their bodies must be generated just like they're VOID and then load
Unit on stack manually.
2016-12-19 11:07:32 +03:00
..
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:58:19 +03:00
2016-12-15 23:57:58 +03:00
2016-12-19 11:07:32 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-16 02:01:12 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-05 20:10:32 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-05 20:10:32 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00
2016-12-15 23:57:58 +03:00