| 78 | /// A memory value. |
| 79 | #[derive(Debug, Eq, PartialEq, Copy, Clone)] |
| 80 | pub struct Memory { |
| 81 | /// The type associated with the memory offset. |
| 82 | pub ty: WasmValType, |
| 83 | /// The stack slot corresponding to the memory value. |
| 84 | pub slot: StackSlot, |
| 85 | } |
| 86 | |
| 87 | /// Value definition to be used within the shadow stack. |
| 88 | #[derive(Debug, Eq, PartialEq, Copy, Clone)] |