1
Fork 0
rust/compiler/rustc_codegen_cranelift/src
Nicholas Nethercote bcf0ec0191 Replace mk_foo calls with infer_foo where possible.
There are several `mk_foo`/`intern_foo` pairs, where the former takes an
iterator and the latter takes a slice. (This naming convention is bad,
but that's a fix for another PR.)

This commit changes several `mk_foo` occurrences into `intern_foo`,
avoiding the need for some `.iter()`/`.into_iter()` calls. Affected
cases:
- mk_type_list
- mk_tup
- mk_substs
- mk_const_list
2023-02-17 22:24:31 +11:00
..
abi Merge commit '7d53619064' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
debuginfo Merge commit '598f090956' into sync_cg_clif-2023-01-24 2023-01-24 18:56:42 +01:00
driver if $c:expr { Some($r:expr) } else { None } =>> $c.then(|| $r) 2023-02-16 15:26:00 +00:00
intrinsics Replace mk_foo calls with infer_foo where possible. 2023-02-17 22:24:31 +11:00
optimize Merge commit '598f090956' into sync_cg_clif-2023-01-24 2023-01-24 18:56:42 +01:00
allocator.rs Merge commit '7d53619064' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
analyze.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
archive.rs Rewrite LLVM's archive writer in Rust 2022-11-26 19:35:32 +00:00
base.rs s/eval_usize/eval_target_usize/ for clarity 2023-02-14 08:51:19 +00:00
cast.rs Merge commit '2bb3996244' into sync_cg_clif-2022-12-14 2022-12-14 19:30:46 +01:00
codegen_i128.rs Replace mk_foo calls with infer_foo where possible. 2023-02-17 22:24:31 +11:00
common.rs Merge commit '7d53619064' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
compiler_builtins.rs Merge commit '7d53619064' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
concurrency_limiter.rs Merge commit '266e96785a' into sync_cg_clif-2022-10-23 2022-10-23 16:22:55 +02:00
config.rs Merge commit '7d53619064' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
constant.rs Update codegen cranelift for ConstEvalCounter 2023-01-23 23:56:22 +00:00
cranelift_native.rs Fix CI 2023-01-25 16:27:28 +01:00
discriminant.rs Merge commit '2bb3996244' into sync_cg_clif-2022-12-14 2022-12-14 19:30:46 +01:00
global_asm.rs Merge commit '7d53619064' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
inline_asm.rs Merge commit '7d53619064' into sync_cg_clif-2023-02-09 2023-02-09 12:38:16 +01:00
lib.rs Alias folding/visiting traits instead of re-export 2023-02-13 10:24:46 +00:00
linkage.rs Sync rustc_codegen_cranelift 'ddd4ce2553' 2021-04-30 14:49:58 +02:00
main_shim.rs Replace mk_foo calls with infer_foo where possible. 2023-02-17 22:24:31 +11:00
num.rs Replace mk_foo calls with infer_foo where possible. 2023-02-17 22:24:31 +11:00
pointer.rs
pretty_clif.rs Merge commit 'e9d1a0a7b0' into sync_cg_clif-2022-08-24 2022-08-24 18:40:58 +02:00
toolchain.rs Merge commit 'e9d1a0a7b0' into sync_cg_clif-2022-08-24 2022-08-24 18:40:58 +02:00
trap.rs Merge commit 'e9d1a0a7b0' into sync_cg_clif-2022-08-24 2022-08-24 18:40:58 +02:00
unsize.rs s/eval_usize/eval_target_usize/ for clarity 2023-02-14 08:51:19 +00:00
value_and_place.rs s/eval_usize/eval_target_usize/ for clarity 2023-02-14 08:51:19 +00:00
vtable.rs Merge commit '266e96785a' into sync_cg_clif-2022-10-23 2022-10-23 16:22:55 +02:00