1 //! An interpreter for MIR used in CTFE and by miri
19 pub use rustc_middle::mir::interpret::*; // have all the `interpret` symbols in one place: here
21 pub use self::eval_context::{Frame, InterpCx, LocalState, LocalValue, StackPopCleanup};
22 pub use self::intern::{intern_const_alloc_recursive, InternKind};
23 pub use self::machine::{compile_time_machine, AllocMap, Machine, MayLeak, StackPopJump};
24 pub use self::memory::{get_static, AllocCheck, FnVal, Memory, MemoryKind};
25 pub use self::operand::{ImmTy, Immediate, OpTy, Operand};
26 pub use self::place::{MPlaceTy, MemPlace, MemPlaceMeta, Place, PlaceTy};
27 pub use self::validity::RefTracking;
28 pub use self::visitor::{MutValueVisitor, ValueVisitor};
30 crate use self::intrinsics::eval_nullary_intrinsic;
31 use eval_context::{from_known_layout, mir_assign_valid_types};