Nicholas Nethercote afd8a4e7ec Improve LocalDecl creation.
This commit adds some new `LocalDecl` methods:
- `with_source_info`, a most general constructor.
- `new`, a variant of `with_source_info` which represents the most
  common use case.
- `internal` a modifying method (like the already present `immutable`).

It removes some old `LocalDecl` methods:
- `new_internal` and `new_local`, because they're subsumed by the new
  methods.
- `new_return_place`, because it was identical to `new_temp`.

Finally, it cleans up all the use sites.
2020-05-06 12:15:26 +10:00
..
2020-04-22 09:57:43 -07:00
2020-05-06 12:15:26 +10:00
2020-05-06 12:15:26 +10:00
2020-05-02 10:41:04 +02:00
2020-04-26 02:24:01 +02:00
2020-04-22 09:57:43 -07:00
2020-04-22 09:57:43 -07:00
2020-05-06 12:15:26 +10:00
2020-05-06 12:15:26 +10:00
2020-04-28 11:34:17 +02:00
2020-05-06 12:15:26 +10:00
2020-04-22 09:57:43 -07:00
2020-04-22 09:57:43 -07:00
2020-04-22 09:57:43 -07:00