diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-10-28 08:25:06 +0100 |
|---|---|---|
| committer | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-11-16 22:42:09 +0100 |
| commit | 7f45668af6563645f77bb5a6ba26a92c287ce1f8 (patch) | |
| tree | 82d06e90f3831fc59526384861b3b6fd5dfa4cca /compiler/rustc_codegen_cranelift/src/analyze.rs | |
| parent | a6cbd64dae97fc0cf626ad688b285f5a8ecde393 (diff) | |
| download | rust-7f45668af6563645f77bb5a6ba26a92c287ce1f8.tar.gz rust-7f45668af6563645f77bb5a6ba26a92c287ce1f8.zip | |
update `cg_clif`
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/analyze.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/analyze.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/analyze.rs b/compiler/rustc_codegen_cranelift/src/analyze.rs index fd25b19a583..adf5c7ac4fe 100644 --- a/compiler/rustc_codegen_cranelift/src/analyze.rs +++ b/compiler/rustc_codegen_cranelift/src/analyze.rs @@ -17,7 +17,7 @@ pub(crate) fn analyze(fx: &FunctionCx<'_, '_, impl Module>) -> IndexVec<Local, S .local_decls .iter() .map(|local_decl| { - let ty = fx.monomorphize(&local_decl.ty); + let ty = fx.monomorphize(local_decl.ty); if fx.clif_type(ty).is_some() || fx.clif_pair_type(ty).is_some() { SsaKind::Ssa } else { |
