From ebb2a3d33d4536bcace34e9ba95198067ae19522 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 10 May 2025 18:25:23 -0400 Subject: Add type field to InstrDTO, required for next refactor --- src/wb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wb.cc') 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>(reg, this->curr_instr->operands.vector.slot_one); } else { -- cgit v1.2.3