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;