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-11-21 10:25:51 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2016-10-27 14:17:25 +03:00
2016-11-16 19:50:10 +03:00
2016-12-08 15:41:39 +03:00
2016-11-21 18:20:33 +03:00
2016-11-28 16:33:58 +03:00
2016-11-25 14:08:13 +03:00
2016-11-21 18:20:33 +03:00
2016-11-09 21:41:12 +03:00
2016-12-12 14:30:43 +03:00
2016-11-21 18:20:33 +03:00
2016-10-04 10:24:41 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2016-12-19 11:07:32 +03:00
2016-11-21 18:20:33 +03:00
2016-11-16 19:50:10 +03:00
2016-11-09 21:41:12 +03:00
2016-12-15 19:05:33 +03:00
2016-11-09 21:41:12 +03:00
2016-10-24 10:19:25 +03:00
2016-11-16 18:47:42 +03:00
2016-04-08 14:52:55 +03:00
2016-12-15 17:58:40 +03:00
2016-11-09 21:41:12 +03:00
2016-12-15 19:05:33 +03:00
2016-11-21 18:20:33 +03:00
2016-11-09 21:41:12 +03:00
2016-11-09 21:41:12 +03:00
2015-05-12 19:43:17 +02:00
2016-11-15 22:11:09 +03:00
2015-11-27 15:51:11 +03:00
2016-11-21 18:20:33 +03:00
2016-12-15 19:53:37 +03:00
2016-11-09 21:41:12 +03:00
2016-12-09 09:48:46 +01:00
2016-11-23 12:19:03 +03:00
2016-12-15 19:05:34 +03:00
2013-01-28 18:20:21 +04:00
2016-12-13 14:05:25 +03:00
2016-11-21 18:20:33 +03:00
2016-11-21 18:20:33 +03:00
2016-11-09 21:41:12 +03:00
2016-11-09 21:41:12 +03:00
2016-11-18 11:04:59 +01:00
2016-11-09 21:41:12 +03:00
2015-05-12 19:43:17 +02:00
2016-12-13 14:05:25 +03:00
2016-12-15 19:05:34 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2015-12-24 06:17:03 +03:00
2016-11-21 18:20:33 +03:00
2016-12-14 15:29:00 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2016-11-16 19:50:10 +03:00
2015-11-06 11:46:12 +03:00
2016-11-09 21:41:12 +03:00
2016-12-13 14:05:25 +03:00
2016-12-09 11:55:16 +01:00
2016-12-08 20:50:11 +03:00
2016-12-16 13:12:41 +03:00
2016-11-21 18:20:33 +03:00
2016-11-18 13:48:16 +03:00
2016-11-21 18:20:33 +03:00
2016-11-21 18:20:33 +03:00
2015-06-25 19:07:23 +03:00
2016-10-27 17:27:03 +03:00
2016-11-09 21:41:12 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2016-11-17 13:29:26 +03:00
2016-11-16 19:50:10 +03:00
2016-11-21 18:20:33 +03:00
2016-11-21 18:20:33 +03:00
2016-11-09 21:41:12 +03:00
2016-11-16 19:50:10 +03:00
2016-11-21 18:20:33 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2016-11-21 10:25:51 +03:00
2016-11-09 21:41:12 +03:00
2016-11-09 21:41:12 +03:00
2015-10-15 18:23:58 +03:00
2016-11-09 21:41:12 +03:00
2016-11-21 18:20:33 +03:00
2016-11-21 18:20:33 +03:00