move interpret::MemoryKind::Heap to const eval

This commit is contained in:
Vishnunarayan K I
2020-12-03 21:09:39 +05:30
parent d015f0d921
commit ff0ebd27a4
5 changed files with 48 additions and 21 deletions

View File

@@ -180,6 +180,8 @@ impl<'mir, 'tcx> ConstPropMachine<'mir, 'tcx> {
impl<'mir, 'tcx> interpret::Machine<'mir, 'tcx> for ConstPropMachine<'mir, 'tcx> {
compile_time_machine!(<'mir, 'tcx>);
type MemoryKind = !;
type MemoryExtra = ();
fn find_mir_or_eval_fn(