[−][src]Module rustc_mir::interpret::intern
This module specifies the type based interner for constants.
After a const evaluation has computed a value, before we destroy the const evaluator's session memory, we need to extract all memory allocations to the global memory pool so they stay around.
Structs
| InternVisitor | |
| IsStaticOrFn | Signalling data structure to ensure we don't recurse into the memory of other constants or statics |
Enums
| InternKind | |
| InternMode |
Functions
| intern_const_alloc_recursive | Intern |
| intern_shallow | Intern an allocation without looking at its children.
|
| mutable_memory_in_const |
Trait aliases
| CompileTimeMachine |