diff options
| author | Ruslan Bukin <br@FreeBSD.org> | 2019-10-10 13:19:21 +0000 |
|---|---|---|
| committer | Ruslan Bukin <br@FreeBSD.org> | 2019-10-10 13:19:21 +0000 |
| commit | cf98ba14dc260458f757fa46419575cf69f45a44 (patch) | |
| tree | 1cafc844f372337d2a95c8a416b915d46bf4daf8 /decoder/include/common/ocsd_code_follower.h | |
| parent | a6157d81121ac9559d806dafa346039199598442 (diff) | |
Notes
Diffstat (limited to 'decoder/include/common/ocsd_code_follower.h')
| -rw-r--r-- | decoder/include/common/ocsd_code_follower.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/decoder/include/common/ocsd_code_follower.h b/decoder/include/common/ocsd_code_follower.h index 0e8691034a68..b024aa02a368 100644 --- a/decoder/include/common/ocsd_code_follower.h +++ b/decoder/include/common/ocsd_code_follower.h @@ -95,6 +95,7 @@ public: const bool isLink() const; //!< is a link (branch with link etc) const bool ISAChanged() const; //!< next ISA different from input ISA. const ocsd_isa nextISA() const; //!< ISA for next instruction + const uint8_t getInstrSize() const; //!< Get the last instruction size. // information on error conditions const bool isNacc() const; //!< true if Memory Not Accessible (nacc) error occurred @@ -192,6 +193,11 @@ inline const ocsd_instr_subtype OcsdCodeFollower::getInstrSubType() const return m_instr_info.sub_type; } +inline const uint8_t OcsdCodeFollower::getInstrSize() const +{ + return m_instr_info.instr_size; +} + inline const bool OcsdCodeFollower::isCondInstr() const { return (bool)(m_instr_info.is_conditional == 1); |
