Files
rust/compiler
Nicholas Nethercote a1daa34ad0 Use MirPatch in EnumSizeOpt.
Instead of `expand_statements`. This makes the code shorter and
consistent with other MIR transform passes.

The tests require updating because there is a slight change in
MIR output:
- the old code replaced the original statement with twelve new
  statements.
- the new code inserts converts the original statement to a `nop` and
  then insert twelve new statements in front of it.

I.e. we now end up with an extra `nop`, which doesn't matter at all.
2025-02-18 12:52:56 +11:00
..
2025-02-08 22:12:13 +00:00
2025-02-15 08:21:27 +01:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-01-07 14:30:02 +02:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00