1 //! An interpreter for MIR used in CTFE and by miri
12 pub(crate) mod snapshot; // for const_eval
19 pub use rustc::mir::interpret::*; // have all the `interpret` symbols in one place: here
21 pub use self::eval_context::{Frame, InterpCx, LocalState, LocalValue, StackPopCleanup};
23 pub use self::place::{MPlaceTy, MemPlace, MemPlaceMeta, Place, PlaceTy};
25 pub use self::memory::{AllocCheck, FnVal, Memory, MemoryKind};
27 pub use self::machine::{AllocMap, Machine, MayLeak, StackPopInfo};
29 pub use self::operand::{ImmTy, Immediate, OpTy, Operand, ScalarMaybeUndef};
31 pub use self::visitor::{MutValueVisitor, ValueVisitor};
33 pub use self::validity::RefTracking;
35 pub use self::intern::{intern_const_alloc_recursive, InternKind};
37 crate use self::intrinsics::eval_nullary_intrinsic;