summaryrefslogtreecommitdiff
path: root/src/arch/sparc/insts/static_inst.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/insts/static_inst.hh')
-rw-r--r--src/arch/sparc/insts/static_inst.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/sparc/insts/static_inst.hh b/src/arch/sparc/insts/static_inst.hh
index 9e15c8dab..32930fb9f 100644
--- a/src/arch/sparc/insts/static_inst.hh
+++ b/src/arch/sparc/insts/static_inst.hh
@@ -90,7 +90,8 @@ class SparcStaticInst : public StaticInst
protected:
using StaticInst::StaticInst;
- std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
+ std::string generateDisassembly(
+ Addr pc, const SymbolTable *symtab) const override;
static void printMnemonic(std::ostream &os, const char *mnemonic);
static void printReg(std::ostream &os, RegId reg);
@@ -101,7 +102,7 @@ class SparcStaticInst : public StaticInst
void printRegArray(std::ostream &os,
const RegId indexArray[], int num) const;
- void advancePC(PCState &pcState) const;
+ void advancePC(PCState &pcState) const override;
static bool passesFpCondition(uint32_t fcc, uint32_t condition);
static bool passesCondition(uint32_t codes, uint32_t condition);