diff options
| author | Ralf Jung <post@ralfj.de> | 2022-07-04 08:48:05 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-07-11 22:50:46 -0400 |
| commit | ab225ade1ec401ae990904326fccf54936a5e990 (patch) | |
| tree | e11f92522e4648b328b3bc25e090a598c9f062d9 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | f893495e3da91dc319d37861b803eed9d6c8c7c7 (diff) | |
| download | rust-ab225ade1ec401ae990904326fccf54936a5e990.tar.gz rust-ab225ade1ec401ae990904326fccf54936a5e990.zip | |
interpret: refactor projection handling code
Moves our projection handling code into a common file, and avoids the use of a general mplace-based fallback function by have more specialized implementations. mplace_index (and the other slice-related functions) could be more efficient by copy-pasting the body of operand_index. Or we could do some trait magic to share the code between them. But for now this is probably fine.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
