summaryrefslogtreecommitdiff
path: root/src/wb.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-10 18:25:23 -0400
committerbd <bdunahu@operationnull.com>2025-05-10 18:25:23 -0400
commitebb2a3d33d4536bcace34e9ba95198067ae19522 (patch)
tree9773c935932ee3a4e2fdaa1d25e61ba3f06abd03 /src/wb.cc
parentf0f773a1f2acc3030c89fc5aa6335f667987aa2a (diff)
Add type field to InstrDTO, required for next refactor
Diffstat (limited to 'src/wb.cc')
-rw-r--r--src/wb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wb.cc b/src/wb.cc
index 12f4edf..1c364b0 100644
--- a/src/wb.cc
+++ b/src/wb.cc
@@ -53,7 +53,7 @@ void WB::write_handler()
this->checked_out.pop_front();
reg = this->curr_instr->checked_out;
- if(instr::is_vector_type(this->curr_instr->mnemonic)) {
+ if(this->curr_instr->type != SI_INT) {
if(this->curr_instr->mnemonic != STOREV && this->curr_instr->mnemonic != LOADV) {
this->store_register<std::array<signed int, V_R_LIMIT>>(reg, this->curr_instr->operands.vector.slot_one);
} else {