aboutsummaryrefslogtreecommitdiff
path: root/riscv/mmu.cc
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-10-13 13:51:06 -0700
committerAndrew Waterman <andrew@sifive.com>2022-10-13 13:51:06 -0700
commit37c8985013b1a15a8043f002e94f38e09cb55ef4 (patch)
treef44d2985240bd98e863610903d1036af40010204 /riscv/mmu.cc
parente2e66015af4b5fce4bc958e70398f1fb7af7bcd9 (diff)
downloadspike-37c8985013b1a15a8043f002e94f38e09cb55ef4.zip
spike-37c8985013b1a15a8043f002e94f38e09cb55ef4.tar.gz
spike-37c8985013b1a15a8043f002e94f38e09cb55ef4.tar.bz2
Remove unused field matched_t::data
Diffstat (limited to 'riscv/mmu.cc')
-rw-r--r--riscv/mmu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/mmu.cc b/riscv/mmu.cc
index fdad05f..53c6fba 100644
--- a/riscv/mmu.cc
+++ b/riscv/mmu.cc
@@ -162,13 +162,13 @@ void mmu_t::check_triggers(triggers::operation_t operation, reg_t address, bool
return;
case triggers::MATCH_FIRE_BEFORE:
- throw triggers::matched_t(operation, address, data, action);
+ throw triggers::matched_t(operation, address, action);
case triggers::MATCH_FIRE_AFTER:
// We want to take this exception on the next instruction. We check
// whether to do so in the I$ refill path, so flush the I$.
flush_icache();
- matched_trigger = new triggers::matched_t(operation, address, data, action);
+ matched_trigger = new triggers::matched_t(operation, address, action);
return;
}
}