summaryrefslogtreecommitdiff
path: root/src/arch/hsail/insts
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2017-02-27 13:18:38 -0500
committerBrandon Potter <brandon.potter@amd.com>2017-02-27 13:18:38 -0500
commit833fb10ed48ea3bcd7dff5ae0768a119db415f4e (patch)
treec0d86a44ffd8488c3cf2199f0cbebf277db20fa4 /src/arch/hsail/insts
parent8d2c3735d9ccb36341a31a86d82907b31edd52ef (diff)
downloadgem5-833fb10ed48ea3bcd7dff5ae0768a119db415f4e.tar.xz
gpu-compute: mark functions with override if replacing virtual
The clang compiler is more stringent than the recent versions of GCC when dealing with overrides. This changeset adds the specifier to the methods which need it to silence the compiler.
Diffstat (limited to 'src/arch/hsail/insts')
-rw-r--r--src/arch/hsail/insts/gpu_static_inst.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/hsail/insts/gpu_static_inst.hh b/src/arch/hsail/insts/gpu_static_inst.hh
index bb40411ed..0bddcac80 100644
--- a/src/arch/hsail/insts/gpu_static_inst.hh
+++ b/src/arch/hsail/insts/gpu_static_inst.hh
@@ -54,7 +54,7 @@ namespace HsailISA
{
public:
HsailGPUStaticInst(const BrigObject *obj, const std::string &opcode);
- void generateDisassembly();
+ void generateDisassembly() override;
int instSize() const override { return sizeof(RawMachInst); }
bool isValid() const override { return true; }