From 3ca21f30734c9cf6d8426aa465bf4846dffda9f0 Mon Sep 17 00:00:00 2001 From: Andrei Ivasko Date: Mon, 23 Dec 2024 14:17:57 +0300 Subject: [PATCH] make OpStack.stack field private --- triton-isa/src/op_stack.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/triton-isa/src/op_stack.rs b/triton-isa/src/op_stack.rs index 7862d5ba..39c916ba 100644 --- a/triton-isa/src/op_stack.rs +++ b/triton-isa/src/op_stack.rs @@ -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, + /// `op_stack.stack[0]` is the lowest element in the stack. + stack: VecDeque, underflow_io_sequence: Vec, }