diff options
| author | bors <bors@rust-lang.org> | 2023-07-26 13:06:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-26 13:06:25 +0000 |
| commit | bd9785cce8dffad58a793f85454a5064100e9c84 (patch) | |
| tree | b299a05f0e6cece33e32b56aa354f0919f0aa358 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 52bdc37727c03e1acf164c4fb44291c0921cb2d9 (diff) | |
| parent | 571e8ce777447a542dfefd0151b17503a380176f (diff) | |
| download | rust-bd9785cce8dffad58a793f85454a5064100e9c84.tar.gz rust-bd9785cce8dffad58a793f85454a5064100e9c84.zip | |
Auto merge of #114071 - RalfJung:interpret-generic-read-write, r=oli-obk
interpret: make read/write methods generic Instead of always having to call `into()` to convert things to `PlaceTy`/`OpTy`, make the relevant methods generic. This also means that when we read from an `MPlaceTy`, we avoid creating an intermediate `PlaceTy`. This makes it feasible to remove the `Copy` from `MPlaceTy`. All the other `*Ty` interpreter types already had their `Copy` removed a while ago so this is only consistent. (And in fact we had one function that accidentally took `MPlaceTy` instead of `&MPlaceTy`.)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
