Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 1b8e830

Browse files
committed
ty::layout: intern FnAbis as &'tcx.
1 parent 02d3c13 commit 1b8e830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ pub(crate) struct FunctionCx<'m, 'clif, 'tcx: 'm> {
239239
pub(crate) instance: Instance<'tcx>,
240240
pub(crate) symbol_name: SymbolName<'tcx>,
241241
pub(crate) mir: &'tcx Body<'tcx>,
242-
pub(crate) fn_abi: Option<FnAbi<'tcx, Ty<'tcx>>>,
242+
pub(crate) fn_abi: Option<&'tcx FnAbi<'tcx, Ty<'tcx>>>,
243243

244244
pub(crate) bcx: FunctionBuilder<'clif>,
245245
pub(crate) block_map: IndexVec<BasicBlock, Block>,

0 commit comments

Comments
 (0)