Jon Ross-Perkins
e855f38b8c
Tag destruction as desugaring ( #5790 )
...
In `BuildUnaryOperator`, `GetOperatorOpFunction` is treated as
desugaring, but `PerformCompoundMemberAccess` and `PerformCall` are not.
This treats all of destruction as desugaring.
This leads to some instructions being elided, because of `GetOrAddInst`
behaviors:
> // If the instruction has a desugared location and a constant value,
returns
> // the constant value's instruction ID. Otherwise, same as AddInst.
This changes instructions that previously had a non-desugared location
to instead have a desugared location, so if they also have a constant
value then the constant value can be used directly.
2025-07-10 21:21:19 +00:00
..
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-06-18 20:43:36 +00:00
2025-06-18 20:43:36 +00:00
2025-06-18 20:43:36 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-25 21:03:15 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-06-09 22:18:12 +00:00
2025-06-25 21:03:15 +00:00
2025-06-25 21:03:15 +00:00
2025-06-25 21:03:15 +00:00
2025-06-25 21:03:15 +00:00
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-25 21:03:15 +00:00
2025-06-17 21:10:04 +00:00
2025-06-25 21:03:15 +00:00
2025-07-02 19:21:41 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-06-25 21:03:15 +00:00
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-06-25 21:03:15 +00:00
2025-07-10 21:21:19 +00:00
2025-06-18 20:45:46 +00:00
2025-07-10 21:21:19 +00:00
2025-07-10 21:21:19 +00:00
2025-06-25 21:03:15 +00:00
2025-06-30 20:35:19 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00
2025-06-17 20:55:48 +00:00
2025-06-25 21:03:15 +00:00
2025-06-17 21:10:04 +00:00
2025-07-10 21:21:19 +00:00