diff options
Diffstat (limited to 'src/devices/cpu/drcuml.h')
-rw-r--r-- | src/devices/cpu/drcuml.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/cpu/drcuml.h b/src/devices/cpu/drcuml.h index 5bb4bb04ae4..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 @@ -150,7 +150,6 @@ protected: device_t & m_device; // CPU device we are associated with std::vector<address_space *> m_space; // pointers to CPU's address space drcuml_machine_state & m_state; // state of the machine (in near cache) - data_accessors * m_accessors; // memory accessors (in near cache) }; @@ -174,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 @@ -192,7 +191,7 @@ public: { log_vprintf(util::make_format_argument_pack(std::forward<Format>(fmt), std::forward<Params>(args)...)); } - void log_vprintf(util::format_argument_pack<std::ostream> const &args); + void log_vprintf(util::format_argument_pack<char> const &args); void log_flush() { if (logging()) m_umllog->flush(); } bool logging_native() const { return m_beintf->logging(); } |