Box CastTarget within PassMode.
Because `PassMode::Cast` is by far the largest variant, but is relatively rare. This requires making `PassMode` not impl `Copy`, and `Clone` is no longer necessary. This causes lots of sigil adjusting, but nothing very notable.
This commit is contained in:
@@ -24,7 +24,7 @@ pub(super) fn add_arg_comment<'tcx>(
|
||||
local: Option<mir::Local>,
|
||||
local_field: Option<usize>,
|
||||
params: &[Value],
|
||||
arg_abi_mode: PassMode,
|
||||
arg_abi_mode: &PassMode,
|
||||
arg_layout: TyAndLayout<'tcx>,
|
||||
) {
|
||||
if !fx.clif_comments.enabled() {
|
||||
|
||||
Reference in New Issue
Block a user