@@ -974,7 +974,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
974974 & mut self ,
975975 place : PlaceRef < ' tcx , RValue < ' gcc > > ,
976976 ) -> OperandRef < ' tcx , RValue < ' gcc > > {
977- assert_eq ! ( place. llextra. is_some( ) , place. layout. is_unsized( ) ) ;
977+ assert_eq ! ( place. val . llextra. is_some( ) , place. layout. is_unsized( ) ) ;
978978
979979 if place. layout . is_zst ( ) {
980980 return OperandRef :: zero_sized ( place. layout ) ;
@@ -999,10 +999,10 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
999999 }
10001000 }
10011001
1002- let val = if let Some ( llextra) = place. llextra {
1003- OperandValue :: Ref ( place. llval , Some ( llextra) , place. align )
1002+ let val = if let Some ( llextra) = place. val . llextra {
1003+ OperandValue :: Ref ( place. val . llval , Some ( llextra) , place. val . align )
10041004 } else if place. layout . is_gcc_immediate ( ) {
1005- let load = self . load ( place. layout . gcc_type ( self ) , place. llval , place. align ) ;
1005+ let load = self . load ( place. layout . gcc_type ( self ) , place. val . llval , place. val . align ) ;
10061006 if let abi:: Abi :: Scalar ( ref scalar) = place. layout . abi {
10071007 scalar_load_metadata ( self , load, scalar) ;
10081008 }
@@ -1012,9 +1012,9 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
10121012
10131013 let mut load = |i, scalar : & abi:: Scalar , align| {
10141014 let llptr = if i == 0 {
1015- place. llval
1015+ place. val . llval
10161016 } else {
1017- self . inbounds_ptradd ( place. llval , self . const_usize ( b_offset. bytes ( ) ) )
1017+ self . inbounds_ptradd ( place. val . llval , self . const_usize ( b_offset. bytes ( ) ) )
10181018 } ;
10191019 let llty = place. layout . scalar_pair_element_gcc_type ( self , i) ;
10201020 let load = self . load ( llty, llptr, align) ;
@@ -1027,11 +1027,11 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
10271027 } ;
10281028
10291029 OperandValue :: Pair (
1030- load ( 0 , a, place. align ) ,
1031- load ( 1 , b, place. align . restrict_for_offset ( b_offset) ) ,
1030+ load ( 0 , a, place. val . align ) ,
1031+ load ( 1 , b, place. val . align . restrict_for_offset ( b_offset) ) ,
10321032 )
10331033 } else {
1034- OperandValue :: Ref ( place. llval , None , place. align )
1034+ OperandValue :: Ref ( place. val . llval , None , place. val . align )
10351035 } ;
10361036
10371037 OperandRef { val, layout : place. layout }
@@ -1045,8 +1045,8 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
10451045 ) {
10461046 let zero = self . const_usize ( 0 ) ;
10471047 let count = self . const_usize ( count) ;
1048- let start = dest. project_index ( self , zero) . llval ;
1049- let end = dest. project_index ( self , count) . llval ;
1048+ let start = dest. project_index ( self , zero) . val . llval ;
1049+ let end = dest. project_index ( self , count) . val . llval ;
10501050
10511051 let header_bb = self . append_sibling_block ( "repeat_loop_header" ) ;
10521052 let body_bb = self . append_sibling_block ( "repeat_loop_body" ) ;
@@ -1064,7 +1064,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
10641064 self . cond_br ( keep_going, body_bb, next_bb) ;
10651065
10661066 self . switch_to_block ( body_bb) ;
1067- let align = dest. align . restrict_for_offset ( dest. layout . field ( self . cx ( ) , 0 ) . size ) ;
1067+ let align = dest. val . align . restrict_for_offset ( dest. layout . field ( self . cx ( ) , 0 ) . size ) ;
10681068 cg_elem. val . store ( self , PlaceRef :: new_sized_aligned ( current_val, cg_elem. layout , align) ) ;
10691069
10701070 let next = self . inbounds_gep (
0 commit comments