On Fri, 2023-11-17 at 11:46 -0500, Andrii Nakryiko wrote: [...] > > + /* Transfer references to the callee */ > > + err = copy_reference_state(callee, caller); > > + if (err) > > + goto err_out; > > + > > + err = set_callee_state_cb(env, caller, callee, callsite); > > + if (err) > > + goto err_out; > > given we are touching and moving this code, it might make sense to > make it a bit more succinct with this pattern: > > err = copy_reference_state(...); > err = err ?: set_callee_state_cb(); > if (err) > goto err_out; > > > Error handling is a bit less distracting this way. Will do.