--- nono/debugger/branchhistory.h 2026/04/29 17:05:16 1.1.1.4 +++ nono/debugger/branchhistory.h 2026/04/29 17:05:24 1.1.1.6 @@ -44,7 +44,7 @@ class BranchHistory : public Object public: BranchHistory(int objid_); - virtual ~BranchHistory() override; + ~BranchHistory() override; // 初期化 void Clear(); @@ -103,8 +103,14 @@ class BranchHistory_m680x0 : public Bran { using inherited = BranchHistory; public: + // inst の分岐種別 + static const uint32 Normal = 0x00000000; // 通常分岐 + static const uint32 VectorJump = 0x40000000; // ベクタによる分岐 + static const uint32 IOCSCall = 0x80000000; // IOCS コール + static const uint32 Exception = 0xc0000000; // 例外発生 + public: BranchHistory_m680x0(int objid_); - virtual ~BranchHistory_m680x0() override; + ~BranchHistory_m680x0() override; std::string FormatEntry(const BranchEntry& e) override; }; @@ -118,7 +124,7 @@ class BranchHistory_m88xx0 : public Bran using inherited = BranchHistory; public: BranchHistory_m88xx0(int objid_); - virtual ~BranchHistory_m88xx0() override; + ~BranchHistory_m88xx0() override; std::string FormatEntry(const BranchEntry& e) override; }; @@ -131,7 +137,7 @@ class BranchHistory_hd64180 : public Bra using inherited = BranchHistory; public: BranchHistory_hd64180(int objid_); - virtual ~BranchHistory_hd64180() override; + ~BranchHistory_hd64180() override; std::string FormatHeader() const override; std::string FormatEntry(const BranchEntry& e) override;