summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/drcuml.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-03-16 05:07:29 +1100
committer Vas Crabb <vas@vastheman.com>2025-03-16 05:07:29 +1100
commit3269decb82c1f14fe5db4e6e375025f177375472 (patch)
treecd0956f5e7967a232c7106cdc1bd66e4ac9f7bb0 /src/devices/cpu/drcuml.h
parent1b4a43302d5d105dca3fc9194f540827465e0712 (diff)
cpu/drcbearm64.cpp: General cleanup, no functional changes.
Diffstat (limited to 'src/devices/cpu/drcuml.h')
-rw-r--r--src/devices/cpu/drcuml.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/cpu/drcuml.h b/src/devices/cpu/drcuml.h
index b146a6b700d..acc864a5201 100644
--- a/src/devices/cpu/drcuml.h
+++ b/src/devices/cpu/drcuml.h
@@ -136,9 +136,9 @@ public:
virtual void reset() = 0;
virtual int execute(uml::code_handle &entry) = 0;
virtual void generate(drcuml_block &block, uml::instruction const *instlist, u32 numinst) = 0;
- virtual bool hash_exists(u32 mode, u32 pc) = 0;
- virtual void get_info(drcbe_info &info) = 0;
- virtual bool logging() const { return false; }
+ virtual bool hash_exists(u32 mode, u32 pc) const noexcept = 0;
+ virtual void get_info(drcbe_info &info) const noexcept = 0;
+ virtual bool logging() const noexcept { return false; }
protected:
// base constructor
@@ -173,8 +173,8 @@ public:
drcuml_block &begin_block(u32 maxinst);
// back-end interface
- void get_backend_info(drcbe_info &info) { m_beintf->get_info(info); }
- bool hash_exists(u32 mode, u32 pc) { return m_beintf->hash_exists(mode, pc); }
+ void get_backend_info(drcbe_info &info) const { m_beintf->get_info(info); }
+ bool hash_exists(u32 mode, u32 pc) const { return m_beintf->hash_exists(mode, pc); }
void generate(drcuml_block &block, uml::instruction *instructions, u32 count) { m_beintf->generate(block, instructions, count); }
// handle management