@@ -276,7 +276,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
276276                let  llslot = match  op. val  { 
277277                    Immediate ( _)  | Pair ( ..)  => { 
278278                        let  scratch =
279-                             PlaceRef :: alloca ( & mut  bx,  self . fn_ty . ret . layout ,   "ret" ) ; 
279+                             PlaceRef :: alloca ( & mut  bx,  self . fn_ty . ret . layout ) ; 
280280                        op. val . store ( & mut  bx,  scratch) ; 
281281                        scratch. llval 
282282                    } 
@@ -767,7 +767,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
767767            match  ( arg,  op. val )  { 
768768                ( & mir:: Operand :: Copy ( _) ,  Ref ( _,  None ,  _) )  |
769769                ( & mir:: Operand :: Constant ( _) ,  Ref ( _,  None ,  _) )  => { 
770-                     let  tmp = PlaceRef :: alloca ( & mut  bx,  op. layout ,   "const" ) ; 
770+                     let  tmp = PlaceRef :: alloca ( & mut  bx,  op. layout ) ; 
771771                    op. val . store ( & mut  bx,  tmp) ; 
772772                    op. val  = Ref ( tmp. llval ,  None ,  tmp. align ) ; 
773773                } 
@@ -925,7 +925,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
925925            Immediate ( _)  | Pair ( ..)  => { 
926926                match  arg. mode  { 
927927                    PassMode :: Indirect ( ..)  | PassMode :: Cast ( _)  => { 
928-                         let  scratch = PlaceRef :: alloca ( bx,  arg. layout ,   "arg" ) ; 
928+                         let  scratch = PlaceRef :: alloca ( bx,  arg. layout ) ; 
929929                        op. val . store ( bx,  scratch) ; 
930930                        ( scratch. llval ,  scratch. align ,  true ) 
931931                    } 
@@ -940,7 +940,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
940940                    // think that ATM (Rust 1.16) we only pass temporaries, but we shouldn't 
941941                    // have scary latent bugs around. 
942942
943-                     let  scratch = PlaceRef :: alloca ( bx,  arg. layout ,   "arg" ) ; 
943+                     let  scratch = PlaceRef :: alloca ( bx,  arg. layout ) ; 
944944                    base:: memcpy_ty ( bx,  scratch. llval ,  scratch. align ,  llval,  align, 
945945                                    op. layout ,  MemFlags :: empty ( ) ) ; 
946946                    ( scratch. llval ,  scratch. align ,  true ) 
@@ -1017,7 +1017,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
10171017                cx. tcx ( ) . mk_mut_ptr ( cx. tcx ( ) . types . u8 ) , 
10181018                cx. tcx ( ) . types . i32 
10191019            ] ) ) ; 
1020-             let  slot = PlaceRef :: alloca ( bx,  layout,   "personalityslot" ) ; 
1020+             let  slot = PlaceRef :: alloca ( bx,  layout) ; 
10211021            self . personality_slot  = Some ( slot) ; 
10221022            slot
10231023        } 
@@ -1116,15 +1116,15 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
11161116                    return  if  fn_ret. is_indirect ( )  { 
11171117                        // Odd, but possible, case, we have an operand temporary, 
11181118                        // but the calling convention has an indirect return. 
1119-                         let  tmp = PlaceRef :: alloca ( bx,  fn_ret. layout ,   "tmp_ret" ) ; 
1119+                         let  tmp = PlaceRef :: alloca ( bx,  fn_ret. layout ) ; 
11201120                        tmp. storage_live ( bx) ; 
11211121                        llargs. push ( tmp. llval ) ; 
11221122                        ReturnDest :: IndirectOperand ( tmp,  index) 
11231123                    }  else  if  is_intrinsic { 
11241124                        // Currently, intrinsics always need a location to store 
11251125                        // the result, so we create a temporary `alloca` for the 
11261126                        // result. 
1127-                         let  tmp = PlaceRef :: alloca ( bx,  fn_ret. layout ,   "tmp_ret" ) ; 
1127+                         let  tmp = PlaceRef :: alloca ( bx,  fn_ret. layout ) ; 
11281128                        tmp. storage_live ( bx) ; 
11291129                        ReturnDest :: IndirectOperand ( tmp,  index) 
11301130                    }  else  { 
@@ -1174,7 +1174,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
11741174                LocalRef :: Operand ( None )  => { 
11751175                    let  dst_layout = bx. layout_of ( self . monomorphized_place_ty ( & dst. as_ref ( ) ) ) ; 
11761176                    assert ! ( !dst_layout. ty. has_erasable_regions( ) ) ; 
1177-                     let  place = PlaceRef :: alloca ( bx,  dst_layout,   "transmute_temp" ) ; 
1177+                     let  place = PlaceRef :: alloca ( bx,  dst_layout) ; 
11781178                    place. storage_live ( bx) ; 
11791179                    self . codegen_transmute_into ( bx,  src,  place) ; 
11801180                    let  op = bx. load_operand ( place) ; 
@@ -1227,7 +1227,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
12271227            DirectOperand ( index)  => { 
12281228                // If there is a cast, we have to store and reload. 
12291229                let  op = if  let  PassMode :: Cast ( _)  = ret_ty. mode  { 
1230-                     let  tmp = PlaceRef :: alloca ( bx,  ret_ty. layout ,   "tmp_ret" ) ; 
1230+                     let  tmp = PlaceRef :: alloca ( bx,  ret_ty. layout ) ; 
12311231                    tmp. storage_live ( bx) ; 
12321232                    bx. store_arg_ty ( & ret_ty,  llval,  tmp) ; 
12331233                    let  op = bx. load_operand ( tmp) ; 
0 commit comments