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
::{
22 Frame
, FrameInfo
, InterpCx
, LocalState
, LocalValue
, StackPopCleanup
, StackPopUnwind
,
24 pub use self::intern
::{intern_const_alloc_recursive, InternKind}
;
25 pub use self::machine
::{compile_time_machine, AllocMap, Machine, MayLeak, StackPopJump}
;
26 pub use self::memory
::{AllocCheck, AllocRef, AllocRefMut, FnVal, Memory, MemoryKind}
;
27 pub use self::operand
::{ImmTy, Immediate, OpTy, Operand}
;
28 pub use self::place
::{MPlaceTy, MemPlace, MemPlaceMeta, Place, PlaceTy}
;
29 pub use self::validity
::{CtfeValidationMode, RefTracking}
;
30 pub use self::visitor
::{MutValueVisitor, Value, ValueVisitor}
;
32 pub(crate) use self::intrinsics
::eval_nullary_intrinsic
;
33 use eval_context
::{from_known_layout, mir_assign_valid_types}
;