From 6f3580143e0840c626fd5e129649c1e9925adff9 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Thu, 12 Oct 2023 21:54:59 -0700 Subject: [PATCH] tbv2: change instruction stack from deque to vector --- include/oi/IntrospectionResult.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/oi/IntrospectionResult.h b/include/oi/IntrospectionResult.h index 13c87b9..8674649 100644 --- a/include/oi/IntrospectionResult.h +++ b/include/oi/IntrospectionResult.h @@ -44,12 +44,15 @@ class IntrospectionResult { const_iterator operator++(int); private: + using stack_t = + std::stack>; + const_iterator(std::vector::const_iterator data, exporters::inst::Inst type); const_iterator(std::vector::const_iterator data); std::vector::const_iterator data_; - std::stack stack_; + stack_t stack_; std::optional next_; std::vector type_path_;