From f4a5db14436ddbb2820c0abefcb34e5482105a12 Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 8 May 2025 19:44:23 -0400 Subject: Move is_logical_type and is_vector_type to instr.h --- inc/instr.h | 2 ++ inc/stage.h | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'inc') diff --git a/inc/instr.h b/inc/instr.h index 98a1f0e..c4f5e37 100644 --- a/inc/instr.h +++ b/inc/instr.h @@ -64,6 +64,8 @@ enum Mnemonic { namespace instr { extern const std::unordered_map mnemonic_map; +bool is_vector_type(Mnemonic m); +bool is_logical_type(Mnemonic m); } // namespace instr #endif /* INSTR_H_INCLUDED */ diff --git a/inc/stage.h b/inc/stage.h index 4e0c252..1afb8e5 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -83,10 +83,6 @@ class Stage */ static std::deque checked_out; - bool is_vector_type(Mnemonic m); - - bool is_logical(Mnemonic m); - protected: /** * The function expected to do the majority of the work. -- cgit v1.2.3