Dump instrinsic and C ABI return values.
This commit is contained in:
parent
a5b9a0cb78
commit
23c47f1e77
1 changed files with 2 additions and 0 deletions
|
@ -205,6 +205,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
|||
_ => return Err(EvalError::Unreachable),
|
||||
};
|
||||
self.call_intrinsic(def_id, substs, arg_operands, ret, ty, layout, target)?;
|
||||
self.dump_local(ret);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -212,6 +213,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
|||
let ty = fn_ty.sig.0.output();
|
||||
let (ret, target) = destination.unwrap();
|
||||
self.call_c_abi(def_id, arg_operands, ret, ty)?;
|
||||
self.dump_local(ret);
|
||||
self.goto_block(target);
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue