From 89f2871168bcd2a69f3edc2e9f12f3bc66101128 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 29 Jan 2018 15:17:08 -0800 Subject: riscv: Add overrides to various StaticInst methods. This makes riscv compile with the version of clang(++) I have on my workstation. Change-Id: I0478616810fbc8a715fd61323b7e0f73676c8328 Reviewed-on: https://gem5-review.googlesource.com/7643 Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black --- src/arch/riscv/isa/formats/standard.isa | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/arch/riscv/isa/formats/standard.isa') diff --git a/src/arch/riscv/isa/formats/standard.isa b/src/arch/riscv/isa/formats/standard.isa index ebe157160..2e0e3edd4 100644 --- a/src/arch/riscv/isa/formats/standard.isa +++ b/src/arch/riscv/isa/formats/standard.isa @@ -43,7 +43,7 @@ def template ImmDeclare {{ public: /// Constructor. %(class_name)s(MachInst machInst); - Fault execute(ExecContext *, Trace::InstRecord *) const; + Fault execute(ExecContext *, Trace::InstRecord *) const override; std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const override; }; @@ -99,7 +99,7 @@ def template BranchDeclare {{ public: /// Constructor. %(class_name)s(MachInst machInst); - Fault execute(ExecContext *, Trace::InstRecord *) const; + Fault execute(ExecContext *, Trace::InstRecord *) const override; std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const override; @@ -158,7 +158,7 @@ def template JumpDeclare {{ public: /// Constructor. %(class_name)s(MachInst machInst); - Fault execute(ExecContext *, Trace::InstRecord *) const; + Fault execute(ExecContext *, Trace::InstRecord *) const override; std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const override; -- cgit v1.2.3