Andrew Kelley
79702c144d
Sema: fix ret_ptr when inlining
...
Previously, it would emit a ret_ptr AIR instruction but that is not
correct because such an instruction would reference the result pointer
of the caller function rather than the callee function.
Instead, we emit an alloc instruction in this case. `ret_load` already
handles inlining correctly.
2021-10-26 15:43:57 -07:00
..
2021-10-22 17:12:12 -07:00
2021-10-26 13:46:27 -07:00
2021-10-24 21:01:04 +02:00
2021-10-26 14:50:43 -04:00
2021-10-20 17:58:30 -04:00
2021-10-21 19:05:26 -07:00
2021-10-26 14:51:33 -04:00
2021-10-25 10:50:47 -07:00
2021-10-04 23:48:55 -07:00
2021-10-16 21:55:51 +01:00
2020-09-21 18:38:55 -07:00
2021-10-20 17:58:30 -04:00
2021-10-22 17:12:12 -07:00
2021-10-25 19:15:17 -04:00
2021-10-22 12:50:25 +02:00
2021-10-07 19:20:15 -07:00
2021-06-21 17:03:03 -07:00
2020-12-07 17:27:09 -07:00
2021-10-16 21:55:51 +01:00
2021-10-04 23:48:55 -07:00
2021-10-04 23:48:55 -07:00
2021-10-16 21:55:51 +01:00
2021-09-30 21:38:04 -07:00
2021-10-16 21:55:51 +01:00
2021-10-25 19:15:17 -04:00
2021-10-22 17:12:12 -07:00
2021-10-25 19:15:17 -04:00
2021-09-19 13:52:56 +02:00
2021-10-22 17:12:12 -07:00
2021-10-16 21:55:51 +01:00
2021-09-29 00:13:21 -07:00
2021-10-22 17:12:12 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-10-25 15:11:21 -07:00
2021-07-30 16:17:59 -07:00
2021-07-20 12:19:16 -07:00
2021-10-26 15:43:57 -07:00
2021-10-16 21:55:51 +01:00
2021-09-30 21:38:04 -07:00
2021-08-06 02:01:47 -07:00
2021-10-04 23:48:55 -07:00
2021-10-04 23:48:55 -07:00
2021-10-20 17:58:30 -04:00
2021-10-26 13:46:27 -07:00
2021-10-05 23:05:14 -07:00
2021-10-26 13:46:27 -07:00
2021-01-14 20:41:37 -07:00
2021-07-11 00:06:47 +02:00
2021-09-24 13:39:20 -04:00
2021-09-07 21:49:08 -06:00
2020-09-21 21:14:01 -07:00
2021-09-01 17:54:07 -07:00
2021-08-15 18:06:29 -07:00
2021-08-15 18:06:29 -07:00
2021-08-15 18:06:29 -07:00
2021-10-20 17:58:30 -04:00
2021-10-20 17:58:30 -04:00
2021-09-30 21:38:04 -07:00
2021-09-30 21:38:04 -07:00
2021-09-30 21:38:04 -07:00
2021-10-25 15:11:21 -07:00