Add a comment

This commit is contained in:
hyd-dev 2021-05-25 03:51:41 +08:00
parent 4a7c9ba6e3
commit 116172d180
No known key found for this signature in database
GPG key ID: 74FA7FD5B8DA14B8

View file

@ -319,6 +319,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
&& !self
.fn_can_unwind(self.tcx.codegen_fn_attrs(callee_def_id).flags, callee_abi)
{
// The callee cannot unwind.
unwind = StackPopUnwind::NotAllowed;
}