summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/id.h2
-rw-r--r--inc/instr.h2
-rw-r--r--inc/instrDTO.h5
3 files changed, 1 insertions, 8 deletions
diff --git a/inc/id.h b/inc/id.h
index dabf206..39485b6 100644
--- a/inc/id.h
+++ b/inc/id.h
@@ -78,7 +78,7 @@ class ID : public Stage
* @param the resulting third field, which varies per type.
* @param the resulting mnemonic.
*/
- void get_instr_fields(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m, Type &t);
+ void get_instr_fields(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
void decode_R_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
void decode_I_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
void decode_J_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
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
diff --git a/inc/instrDTO.h b/inc/instrDTO.h
index 7775b20..6ab14b2 100644
--- a/inc/instrDTO.h
+++ b/inc/instrDTO.h
@@ -48,11 +48,6 @@ struct InstrDTO {
* The mnemonic of the instruction.
*/
Mnemonic mnemonic;
- // TODO delete me
- /**
- * Type of the instruction
- */
- Type type;
/**
* The register this instruction checks out.
*/