From 263a5d86e0b1acde39523bdd9a49521752255c72 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 22 Apr 2025 23:55:32 -0400 Subject: Remove 'type' field out of InstrDTO --- inc/instr.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'inc/instr.h') diff --git a/inc/instr.h b/inc/instr.h index 62af09a..85eae5b 100644 --- a/inc/instr.h +++ b/inc/instr.h @@ -62,8 +62,6 @@ enum Mnemonic { NOP, }; -enum Type { R, I, J, INV }; - namespace instr { // clang-format off -- cgit v1.2.3 From 7bbc7c7fea9bafc55754a1cf010f6553cce7d659 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 22 Apr 2025 23:59:15 -0400 Subject: Cleanup some imports --- inc/instr.h | 5 +---- inc/instrDTO.h | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'inc/instr.h') diff --git a/inc/instr.h b/inc/instr.h index 85eae5b..98a1f0e 100644 --- a/inc/instr.h +++ b/inc/instr.h @@ -17,7 +17,6 @@ #ifndef INSTR_H #define INSTR_H -#include #include enum Mnemonic { @@ -64,9 +63,7 @@ enum Mnemonic { namespace instr { -// clang-format off - extern const std::unordered_map mnemonic_map; -// clang-format on +extern const std::unordered_map mnemonic_map; } // namespace instr #endif /* INSTR_H_INCLUDED */ diff --git a/inc/instrDTO.h b/inc/instrDTO.h index 6ab14b2..1402526 100644 --- a/inc/instrDTO.h +++ b/inc/instrDTO.h @@ -18,9 +18,6 @@ #ifndef INSTRDTO_H #define INSTRDTO_H #include "instr.h" -#include -#include -#include struct U_INT_TYPE { signed int slot_one; -- cgit v1.2.3