Exact debug-only place/operand type checks, place.rs:626–643 and operand.rs:805–830. The compiler's instantiated body supplies each expected place type. Runtime projection/layouts never substitute for that query.
def
Miri.Input.CompilerPlaceTypes.expectedLayout
(p : CompilerProviders.Prepared)
(frame : CompilerFrameContext.ActualFrame)
(requested : MIR.Place)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Input.CompilerPlaceTypes.check
{K U : Type}
(p : CompilerProviders.Prepared)
(debugAssertions : Bool)
(relateCovariantly : Interpreter.LocalLayout → Interpreter.LocalLayout → Interpreter.MachineHooks.M K U Bool)
(requested : MIR.Place)
(actual : Interpreter.LocalLayout)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Input.CompilerPlaceTypes.operand
{K U : Type}
{C : Sort u_1}
(p : CompilerProviders.Prepared)
(debugAssertions : Bool)
(relateCovariantly : Interpreter.LocalLayout → Interpreter.LocalLayout → Interpreter.MachineHooks.M K U Bool)
:
C → (requested : MIR.Place) → (value : Interpreter.OpTy Memory.Provenance) → Interpreter.MachineHooks.M K U Unit
Equations
- Miri.Input.CompilerPlaceTypes.operand p debugAssertions relateCovariantly x✝ requested value = Miri.Input.CompilerPlaceTypes.check p debugAssertions relateCovariantly requested value.layout
Instances For
def
Miri.Input.CompilerPlaceTypes.place
{K U : Type}
{C : Sort u_1}
(p : CompilerProviders.Prepared)
(debugAssertions : Bool)
(relateCovariantly : Interpreter.LocalLayout → Interpreter.LocalLayout → Interpreter.MachineHooks.M K U Bool)
:
C → (requested : MIR.Place) → (value : Interpreter.RuntimePlace Memory.Provenance) → Interpreter.MachineHooks.M K U Unit
Equations
- Miri.Input.CompilerPlaceTypes.place p debugAssertions relateCovariantly x✝ requested value = Miri.Input.CompilerPlaceTypes.check p debugAssertions relateCovariantly requested value.layout