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