Skip to content

Commit

Permalink
make OpStack.stack field private
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbono3 committed Dec 23, 2024
1 parent 77e68a8 commit 3ca21f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions triton-isa/src/op_stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ pub const NUM_OP_STACK_REGISTERS: usize = OpStackElement::COUNT;
#[allow(clippy::len_without_is_empty)]
pub struct OpStack {
///`op_stack[0]` is the top of the stack,
/// `op_stack.stack[0]` is the lowest element in the stack. to figure out how it is achieved?
// TODO rename this field to queue
pub stack: VecDeque<BFieldElement>,
/// `op_stack.stack[0]` is the lowest element in the stack.
stack: VecDeque<BFieldElement>,

underflow_io_sequence: Vec<UnderflowIO>,
}
Expand Down

0 comments on commit 3ca21f3

Please sign in to comment.