@@ -120,7 +120,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
120
120
let val = self . tcx . span_as_caller_location ( span) ;
121
121
let val =
122
122
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) ?;
124
124
}
125
125
126
126
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> {
157
157
tcx. const_eval_global_id ( self . param_env , gid, Some ( tcx. span ) )
158
158
} ) ?;
159
159
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) ?;
161
161
}
162
162
163
163
sym:: ctpop
@@ -391,7 +391,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
391
391
} else {
392
392
self . project_index ( & input, i) ?. into ( )
393
393
} ;
394
- self . copy_op ( & value, & place, /*allow_transmute*/ false ) ?;
394
+ self . copy_op ( & value, & place) ?;
395
395
}
396
396
}
397
397
sym:: simd_extract => {
@@ -401,15 +401,11 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
401
401
index < input_len,
402
402
"index `{index}` must be in bounds of vector with length {input_len}"
403
403
) ;
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) ?;
409
405
}
410
406
sym:: likely | sym:: unlikely | sym:: black_box => {
411
407
// These just return their argument
412
- self . copy_op ( & args[ 0 ] , dest, /*allow_transmute*/ false ) ?;
408
+ self . copy_op ( & args[ 0 ] , dest) ?;
413
409
}
414
410
sym:: raw_eq => {
415
411
let result = self . raw_eq_intrinsic ( & args[ 0 ] , & args[ 1 ] ) ?;
0 commit comments