@@ -1146,7 +1146,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
11461146 | ( & mir:: Operand :: Constant ( _) , Ref ( PlaceValue { llextra : None , .. } ) ) => {
11471147 let tmp = PlaceRef :: alloca ( bx, op. layout ) ;
11481148 bx. lifetime_start ( tmp. val . llval , tmp. layout . size ) ;
1149- op. val . store ( bx, tmp) ;
1149+ op. store_with_annotation ( bx, tmp) ;
11501150 op. val = Ref ( tmp. val ) ;
11511151 lifetime_ends_after_call. push ( ( tmp. val . llval , tmp. layout . size ) ) ;
11521152 }
@@ -1554,13 +1554,13 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
15541554 } ;
15551555 let scratch = PlaceValue :: alloca ( bx, arg. layout . size , required_align) ;
15561556 bx. lifetime_start ( scratch. llval , arg. layout . size ) ;
1557- op. val . store ( bx, scratch. with_type ( arg. layout ) ) ;
1557+ op. store_with_annotation ( bx, scratch. with_type ( arg. layout ) ) ;
15581558 lifetime_ends_after_call. push ( ( scratch. llval , arg. layout . size ) ) ;
15591559 ( scratch. llval , scratch. align , true )
15601560 }
15611561 PassMode :: Cast { .. } => {
15621562 let scratch = PlaceRef :: alloca ( bx, arg. layout ) ;
1563- op. val . store ( bx, scratch) ;
1563+ op. store_with_annotation ( bx, scratch) ;
15641564 ( scratch. val . llval , scratch. val . align , true )
15651565 }
15661566 _ => ( op. immediate_or_packed_pair ( bx) , arg. layout . align . abi , false ) ,
0 commit comments