1
Fork 0

Dump instrinsic and C ABI return values.

This commit is contained in:
Scott Olson 2017-02-07 01:03:40 -08:00
parent a5b9a0cb78
commit 23c47f1e77

View file

@ -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(())
}