1 //! An interpreter for MIR used in CTFE and by miri
10 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::{
22 InterpCx, Frame, StackPopCleanup, LocalState, LocalValue,
25 pub use self::place::{Place, PlaceTy, MemPlace, MPlaceTy};
27 pub use self::memory::{Memory, MemoryKind, AllocCheck, FnVal};
29 pub use self::machine::{Machine, AllocMap, MayLeak};
31 pub use self::operand::{ScalarMaybeUndef, Immediate, ImmTy, Operand, OpTy};
33 pub use self::visitor::{ValueVisitor, MutValueVisitor};
35 pub use self::validity::RefTracking;
37 pub use self::intern::intern_const_alloc_recursive;
39 crate use self::intrinsics::eval_nullary_intrinsic;