From a98fd57da73612ad44422a32db68ea5a0e88cccf Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 20 Dec 2016 17:30:13 -0500 Subject: [PATCH] JitArm64: Add missing override specifiers --- Source/Core/Core/PowerPC/JitArm64/Jit.h | 16 ++++++++-------- .../Core/PowerPC/JitArm64/JitArm64_RegCache.h | 10 +++++----- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/Jit.h b/Source/Core/Core/PowerPC/JitArm64/Jit.h index bb8482aece..806c50f6e0 100644 --- a/Source/Core/Core/PowerPC/JitArm64/Jit.h +++ b/Source/Core/Core/PowerPC/JitArm64/Jit.h @@ -25,22 +25,22 @@ class JitArm64 : public JitBase, public Arm64Gen::ARM64CodeBlock, public CommonA public: JitArm64() : code_buffer(32000), m_float_emit(this) {} ~JitArm64() {} - void Init(); - void Shutdown(); + void Init() override; + void Shutdown() override; - JitBaseBlockCache* GetBlockCache() { return &blocks; } + JitBaseBlockCache* GetBlockCache() override { return &blocks; } bool IsInCodeSpace(u8* ptr) const { return IsInSpace(ptr); } bool HandleFault(uintptr_t access_address, SContext* ctx) override; - void ClearCache(); + void ClearCache() override; CommonAsmRoutinesBase* GetAsmRoutines() override { return this; } - void Run(); - void SingleStep(); + void Run() override; + void SingleStep() override; - void Jit(u32); + void Jit(u32) override; - const char* GetName() { return "JITARM64"; } + const char* GetName() override { return "JITARM64"; } // OPCODES void FallBackToInterpreter(UGeckoInstruction inst); void DoNothing(UGeckoInstruction inst); diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h b/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h index 1f5049176d..3a5cfb5105 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h @@ -206,10 +206,10 @@ class Arm64GPRCache : public Arm64RegCache { public: ~Arm64GPRCache() {} - void Start(PPCAnalyst::BlockRegStats& stats); + void Start(PPCAnalyst::BlockRegStats& stats) override; // Flushes the register cache in different ways depending on the mode - void Flush(FlushMode mode, PPCAnalyst::CodeOp* op = nullptr); + void Flush(FlushMode mode, PPCAnalyst::CodeOp* op = nullptr) override; // Returns a guest register inside of a host register // Will dump an immediate to the host register as well @@ -228,7 +228,7 @@ public: protected: // Get the order of the host registers - void GetAllocationOrder(); + void GetAllocationOrder() override; // Flushes a guest register by host provided void FlushByHost(ARM64Reg host_reg) override; @@ -246,7 +246,7 @@ class Arm64FPRCache : public Arm64RegCache public: ~Arm64FPRCache() {} // Flushes the register cache in different ways depending on the mode - void Flush(FlushMode mode, PPCAnalyst::CodeOp* op = nullptr); + void Flush(FlushMode mode, PPCAnalyst::CodeOp* op = nullptr) override; // Returns a guest register inside of a host register // Will dump an immediate to the host register as well @@ -262,7 +262,7 @@ public: protected: // Get the order of the host registers - void GetAllocationOrder(); + void GetAllocationOrder() override; // Flushes a guest register by host provided void FlushByHost(ARM64Reg host_reg) override;