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