Skip to content

Commit

Permalink
ExecutionTrace::stack_outputs:mut
Browse files Browse the repository at this point in the history
  • Loading branch information
plafer committed Nov 13, 2023
1 parent bae4da0 commit 86a2a77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions processor/src/trace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 86a2a77

Please sign in to comment.