diff options
| author | lcnr <rust@lcnr.de> | 2024-11-20 11:59:52 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2024-11-23 13:52:56 +0100 |
| commit | a8c8ab1acd0f7a2d8c88ea90f91fad2e1f2092c4 (patch) | |
| tree | 3333cd5dd19f9edd25a657f593b31d3e7d596665 /compiler/rustc_codegen_cranelift/src/base.rs | |
| parent | 319843d8cd84ee1ec753f836ce3773d44fe0764b (diff) | |
| download | rust-a8c8ab1acd0f7a2d8c88ea90f91fad2e1f2092c4.tar.gz rust-a8c8ab1acd0f7a2d8c88ea90f91fad2e1f2092c4.zip | |
remove remaining references to `Reveal`
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/base.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/base.rs b/compiler/rustc_codegen_cranelift/src/base.rs index 70b7d92ce15..06cc5754894 100644 --- a/compiler/rustc_codegen_cranelift/src/base.rs +++ b/compiler/rustc_codegen_cranelift/src/base.rs @@ -103,7 +103,7 @@ pub(crate) fn codegen_fn<'tcx>( let block_map: IndexVec<BasicBlock, Block> = (0..mir.basic_blocks.len()).map(|_| bcx.create_block()).collect(); - let fn_abi = RevealAllLayoutCx(tcx).fn_abi_of_instance(instance, ty::List::empty()); + let fn_abi = FullyMonomorphizedLayoutCx(tcx).fn_abi_of_instance(instance, ty::List::empty()); // Make FunctionCx let target_config = module.target_config(); |
