1
Fork 0

make memory private; that's what we have memory_mut for

This commit is contained in:
Ralf Jung 2018-10-19 19:39:52 +02:00
parent f5e8830278
commit ff3b29fc54

View file

@ -47,7 +47,7 @@ pub struct EvalContext<'a, 'mir, 'tcx: 'a + 'mir, M: Machine<'a, 'mir, 'tcx>> {
pub(crate) param_env: ty::ParamEnv<'tcx>,
/// The virtual memory system.
pub memory: Memory<'a, 'mir, 'tcx, M>,
pub(crate) memory: Memory<'a, 'mir, 'tcx, M>,
/// The virtual call stack.
pub(crate) stack: Vec<Frame<'mir, 'tcx, M::PointerTag>>,