From 86a2a776d5469d61207a2c7db4b8f5c7961f6764 Mon Sep 17 00:00:00 2001 From: Philippe Laferriere Date: Mon, 13 Nov 2023 06:41:05 -0500 Subject: [PATCH] ExecutionTrace::stack_outputs:mut --- processor/src/trace/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/processor/src/trace/mod.rs b/processor/src/trace/mod.rs index 88f9ee1236..b1829338c0 100644 --- a/processor/src/trace/mod.rs +++ b/processor/src/trace/mod.rs @@ -117,6 +117,10 @@ impl ExecutionTrace { &self.stack_outputs } + pub fn stack_outputs_mut(&mut self) -> &mut StackOutputs { + &mut self.stack_outputs + } + /// Returns the initial state of the top 16 stack registers. pub fn init_stack_state(&self) -> StackTopState { let mut result = [ZERO; STACK_TOP_SIZE];