This commit is contained in:
Nicholas Ward 2022-06-17 16:52:59 -07:00
parent 5707baee23
commit 939e63189b

View File

@ -161,10 +161,10 @@ pub const SIMPLE_LOGIC_DIFF_INV: usize = SIMPLE_LOGIC_DIFF + 1;
const NUM_MEMORY_OPS: usize = 4;
const NUM_MEMORY_VALUE_LIMBS: usize = 8;
pub(crate) const MEMORY_TIMESTAMP: usize = SIMPLE_LOGIC_DIFF_INV + 1;
pub(crate) const CLOCK: usize = SIMPLE_LOGIC_DIFF_INV + 1;
const USES_MEMOP_START: usize = MEMORY_TIMESTAMP + 1;
const USES_MEMOP_START: usize = CLOCK + 1;
pub const fn uses_memop(op: usize) -> usize {
debug_assert!(op < NUM_MEMORY_OPS);
USES_MEMOP_START + op