Rollup merge of #81065 - osa1:cranelift_semicolon_warning, r=jyn514

codegen_cranelift: Fix redundant semicolon warn
This commit is contained in:
Mara Bos 2021-01-16 17:30:13 +00:00 committed by GitHub
commit 61be4e8024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -824,7 +824,7 @@ pub(crate) fn codegen_intrinsic_call<'tcx>(
}
ty => unreachable!("bswap {}", ty),
}
};
}
let res = CValue::by_val(swap(&mut fx.bcx, arg), fx.layout_of(T));
ret.write_cvalue(fx, res);
};