summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-08 19:44:23 -0400
committerbd <bdunahu@operationnull.com>2025-05-08 19:44:23 -0400
commitf4a5db14436ddbb2820c0abefcb34e5482105a12 (patch)
tree2b716eba64b247f03e2454f1d62d15643f203a1f /inc
parentc7132dbc9c38ff766053bd9a0b72c68b23cd08d2 (diff)
Move is_logical_type and is_vector_type to instr.h
Diffstat (limited to 'inc')
-rw-r--r--inc/instr.h2
-rw-r--r--inc/stage.h4
2 files changed, 2 insertions, 4 deletions
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<unsigned int, Mnemonic> 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<signed int> checked_out;
- bool is_vector_type(Mnemonic m);
-
- bool is_logical(Mnemonic m);
-
protected:
/**
* The function expected to do the majority of the work.