Merge pull request #7034 from lioncash/override

JitArm64/Jit_Util: Add missing override specifiers
This commit is contained in:
Anthony 2018-05-31 08:48:35 -07:00 committed by GitHub
commit a9a03d1565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -23,12 +23,12 @@ public:
{
}
virtual void VisitNop()
void VisitNop() override
{
// Do nothing
}
virtual void VisitDirect(T* addr, u32 mask) { WriteRegToAddr(8 * sizeof(T), addr, mask); }
virtual void VisitComplex(const std::function<void(u32, T)>* lambda)
void VisitDirect(T* addr, u32 mask) override { WriteRegToAddr(8 * sizeof(T), addr, mask); }
void VisitComplex(const std::function<void(u32, T)>* lambda) override
{
CallLambda(8 * sizeof(T), lambda);
}
@ -103,12 +103,12 @@ public:
{
}
virtual void VisitConstant(T value) { LoadConstantToReg(8 * sizeof(T), value); }
virtual void VisitDirect(const T* addr, u32 mask)
void VisitConstant(T value) override { LoadConstantToReg(8 * sizeof(T), value); }
void VisitDirect(const T* addr, u32 mask) override
{
LoadAddrMaskToReg(8 * sizeof(T), addr, mask);
}
virtual void VisitComplex(const std::function<T(u32)>* lambda)
void VisitComplex(const std::function<T(u32)>* lambda) override
{
CallLambda(8 * sizeof(T), lambda);
}