Introduce Machine::POST_MONO_CHECKS.
This commit is contained in:
parent
e5fedceabf
commit
054ed8e7eb
3 changed files with 12 additions and 4 deletions
|
@ -130,6 +130,9 @@ pub trait Machine<'mir, 'tcx: 'mir>: Sized {
|
|||
/// Should the machine panic on allocation failures?
|
||||
const PANIC_ON_ALLOC_FAIL: bool;
|
||||
|
||||
/// Should post-monomorphization checks be run when a stack frame is pushed?
|
||||
const POST_MONO_CHECKS: bool = true;
|
||||
|
||||
/// Whether memory accesses should be alignment-checked.
|
||||
fn enforce_alignment(ecx: &InterpCx<'mir, 'tcx, Self>) -> CheckAlignment;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue