bjorn3
b7bc8d5cb7
Fix fn_sig_for_fn_abi and the coroutine transform for generators
...
There were three issues previously:
* The self argument was pinned, despite Iterator::next taking an
unpinned mutable reference.
* A resume argument was passed, despite Iterator::next not having one.
* The return value was CoroutineState<Item, ()> rather than Option<Item>
While these things just so happened to work with the LLVM backend,
cg_clif does much stricter checks when trying to assign a value to a
place. In addition it can't handle the mismatch between the amount of
arguments specified by the FnAbi and the FnSig.
2023-11-23 20:17:19 +00:00
..
2023-11-22 18:38:17 +11:00
2023-09-26 09:37:55 +02:00
2023-10-20 21:10:38 +00:00
2023-08-24 13:28:26 +02:00
2023-08-06 17:29:09 +03:00
2023-10-05 18:56:30 +03:00
2023-11-04 13:01:32 -04:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-11-08 22:55:28 +01:00
2023-10-13 08:59:36 +00:00
2023-09-21 08:12:30 +02:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-11-23 20:17:19 +00:00
2023-11-15 21:45:48 -05:00
2023-11-07 18:45:11 -05:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-10-06 15:46:11 +00:00
2023-10-30 10:29:08 +01:00
2023-09-21 08:12:30 +02:00
2023-10-04 17:55:15 +00:00
2023-10-20 21:14:01 +00:00
2023-06-06 17:53:29 -04:00
2023-10-10 11:17:27 +02:00
2023-10-04 17:55:15 +00:00
2023-11-21 20:13:40 +01:00
2023-09-23 13:14:57 +00:00
2023-10-20 21:10:38 +00:00
2023-11-21 20:13:40 +01:00
2023-11-18 00:20:00 +00:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-10-10 11:17:27 +02:00
2023-11-21 20:13:40 +01:00
2023-11-16 22:56:25 +00:00
2023-10-13 08:59:36 +00:00
2023-09-21 08:12:30 +02:00
2023-10-18 23:42:45 +11:00
2023-10-13 08:59:36 +00:00
2023-10-10 11:17:27 +02:00
2023-11-21 20:13:40 +01:00
2023-06-14 20:08:04 +00:00
2023-10-13 08:59:36 +00:00
2023-10-20 21:10:38 +00:00
2023-11-21 20:13:40 +01:00
2023-07-25 23:20:28 +02:00
2023-11-11 01:51:09 +01:00
2023-09-21 08:12:30 +02:00
2023-10-05 18:56:30 +03:00
2023-10-20 21:10:38 +00:00
2023-11-17 09:29:48 +00:00
2023-10-31 11:44:23 +00:00
2023-09-21 08:12:30 +02:00
2023-11-21 20:13:40 +01:00
2023-11-21 20:13:40 +01:00
2023-11-14 17:07:34 +01:00
2023-11-21 20:13:40 +01:00
2023-10-31 11:44:23 +00:00