diff options
author | YenHaoChen <howard25336284@gmail.com> | 2022-12-30 12:01:24 +0800 |
---|---|---|
committer | YenHaoChen <howard25336284@gmail.com> | 2023-01-04 09:41:08 +0800 |
commit | 3b3664544262f15e5f6b11b597b32eef954307eb (patch) | |
tree | 5d91334f1d3a7be66518af9099d5163c71982907 | |
parent | 247f01691b5d72459976f3288f7f48d3d84cd65a (diff) | |
download | spike-3b3664544262f15e5f6b11b597b32eef954307eb.zip spike-3b3664544262f15e5f6b11b597b32eef954307eb.tar.gz spike-3b3664544262f15e5f6b11b597b32eef954307eb.tar.bz2 |
triggers: refactor: move textra_match() to protected from public
-rw-r--r-- | riscv/triggers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/triggers.h b/riscv/triggers.h index 16c4343..650a25e 100644 --- a/riscv/triggers.h +++ b/riscv/triggers.h @@ -83,11 +83,11 @@ public: virtual std::optional<match_result_t> detect_memory_access_match(processor_t UNUSED * const proc, operation_t UNUSED operation, reg_t UNUSED address, std::optional<reg_t> UNUSED data) noexcept { return std::nullopt; } virtual std::optional<match_result_t> detect_trap_match(processor_t UNUSED * const proc, const trap_t UNUSED & t) noexcept { return std::nullopt; } - bool textra_match(processor_t * const proc) const noexcept; protected: action_t legalize_action(reg_t val) const noexcept; bool mode_match(state_t * const state) const noexcept; + bool textra_match(processor_t * const proc) const noexcept; reg_t tdata2; bool vs = false; |