@@ -120,7 +120,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
120120 let val = self . tcx . span_as_caller_location ( span) ;
121121 let val =
122122 self . const_val_to_op ( val, self . tcx . caller_location_ty ( ) , Some ( dest. layout ) ) ?;
123- self . copy_op ( & val, dest, /* allow_transmute */ false ) ?;
123+ self . copy_op ( & val, dest) ?;
124124 }
125125
126126 sym:: min_align_of_val | sym:: size_of_val => {
@@ -157,7 +157,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
157157 tcx. const_eval_global_id ( self . param_env , gid, Some ( tcx. span ) )
158158 } ) ?;
159159 let val = self . const_val_to_op ( val, ty, Some ( dest. layout ) ) ?;
160- self . copy_op ( & val, dest, /*allow_transmute*/ false ) ?;
160+ self . copy_op ( & val, dest) ?;
161161 }
162162
163163 sym:: ctpop
@@ -391,7 +391,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
391391 } else {
392392 self . project_index ( & input, i) ?. into ( )
393393 } ;
394- self . copy_op ( & value, & place, /*allow_transmute*/ false ) ?;
394+ self . copy_op ( & value, & place) ?;
395395 }
396396 }
397397 sym:: simd_extract => {
@@ -401,15 +401,11 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
401401 index < input_len,
402402 "index `{index}` must be in bounds of vector with length {input_len}"
403403 ) ;
404- self . copy_op (
405- & self . project_index ( & input, index) ?,
406- dest,
407- /*allow_transmute*/ false ,
408- ) ?;
404+ self . copy_op ( & self . project_index ( & input, index) ?, dest) ?;
409405 }
410406 sym:: likely | sym:: unlikely | sym:: black_box => {
411407 // These just return their argument
412- self . copy_op ( & args[ 0 ] , dest, /*allow_transmute*/ false ) ?;
408+ self . copy_op ( & args[ 0 ] , dest) ?;
413409 }
414410 sym:: raw_eq => {
415411 let result = self . raw_eq_intrinsic ( & args[ 0 ] , & args[ 1 ] ) ?;
0 commit comments