@@ -34,7 +34,7 @@ use rustc_data_structures::indexed_vec::{IndexVec, Idx};
34
34
35
35
pub use self :: constant:: trans_static_initializer;
36
36
37
- use self :: lvalue:: { LvalueRef , get_dataptr , get_meta } ;
37
+ use self :: lvalue:: { LvalueRef } ;
38
38
use rustc:: mir:: traversal;
39
39
40
40
use self :: operand:: { OperandRef , OperandValue } ;
@@ -384,8 +384,10 @@ fn arg_local_refs<'bcx, 'tcx>(bcx: &BlockAndBuilder<'bcx, 'tcx>,
384
384
// they are the two sub-fields of a single aggregate field.
385
385
let meta = & fcx. fn_ty . args [ idx] ;
386
386
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) ) ;
389
391
} else {
390
392
arg. store_fn_arg ( bcx, & mut llarg_idx, dst) ;
391
393
}
@@ -466,8 +468,10 @@ fn arg_local_refs<'bcx, 'tcx>(bcx: &BlockAndBuilder<'bcx, 'tcx>,
466
468
// so make an alloca to store them in.
467
469
let meta = & fcx. fn_ty . args [ idx] ;
468
470
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) ) ;
471
475
} else {
472
476
// otherwise, arg is passed by value, so make a
473
477
// temporary and store it there
0 commit comments