summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-12-21 00:09:56 +0100
committerGitHub <noreply@github.com>2016-12-21 00:09:56 +0100
commit7620dd88d360a85d404e7fd32e1aeb0410b9cd5f (patch)
treef74428ac407ad8e84798379e983c1099d7fa3ffe /Source
parentcd4449f88191b37adad078eebb896613b35282fc (diff)
parenta98fd57da73612ad44422a32db68ea5a0e88cccf (diff)
Merge pull request #4534 from lioncash/jitarm
JitArm64: Add missing override specifiers
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/JitArm64/Jit.h16
-rw-r--r--Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h10
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;