@@ -34,7 +34,7 @@ use rustc_data_structures::indexed_vec::{IndexVec, Idx};
3434
3535pub use self :: constant:: trans_static_initializer;
3636
37- use self :: lvalue:: { LvalueRef , get_dataptr , get_meta } ;
37+ use self :: lvalue:: { LvalueRef } ;
3838use rustc:: mir:: traversal;
3939
4040use self :: operand:: { OperandRef , OperandValue } ;
@@ -384,8 +384,10 @@ fn arg_local_refs<'bcx, 'tcx>(bcx: &BlockAndBuilder<'bcx, 'tcx>,
384384 // they are the two sub-fields of a single aggregate field.
385385 let meta = & fcx. fn_ty . args [ idx] ;
386386 idx += 1 ;
387- arg. store_fn_arg ( bcx, & mut llarg_idx, get_dataptr ( bcx, dst) ) ;
388- meta. store_fn_arg ( bcx, & mut llarg_idx, get_meta ( bcx, dst) ) ;
387+ arg. store_fn_arg ( bcx, & mut llarg_idx,
388+ base:: get_dataptr_builder ( bcx, dst) ) ;
389+ meta. store_fn_arg ( bcx, & mut llarg_idx,
390+ base:: get_meta_builder ( bcx, dst) ) ;
389391 } else {
390392 arg. store_fn_arg ( bcx, & mut llarg_idx, dst) ;
391393 }
@@ -466,8 +468,10 @@ fn arg_local_refs<'bcx, 'tcx>(bcx: &BlockAndBuilder<'bcx, 'tcx>,
466468 // so make an alloca to store them in.
467469 let meta = & fcx. fn_ty . args [ idx] ;
468470 idx += 1 ;
469- arg. store_fn_arg ( bcx, & mut llarg_idx, get_dataptr ( bcx, lltemp) ) ;
470- meta. store_fn_arg ( bcx, & mut llarg_idx, get_meta ( bcx, lltemp) ) ;
471+ arg. store_fn_arg ( bcx, & mut llarg_idx,
472+ base:: get_dataptr_builder ( bcx, lltemp) ) ;
473+ meta. store_fn_arg ( bcx, & mut llarg_idx,
474+ base:: get_meta_builder ( bcx, lltemp) ) ;
471475 } else {
472476 // otherwise, arg is passed by value, so make a
473477 // temporary and store it there
0 commit comments