backend_x64/callback: Default virtual destructor in the cpp file

Prevents the vtable being generated in each translation unit that includes the header (and silences -Wweak-vtables warnings)
This commit is contained in:
Lioncash 2018-05-01 09:10:49 -04:00 committed by MerryMage
parent edd0b5c8c7
commit 4efbd40ea4
2 changed files with 3 additions and 5 deletions

View file

@ -9,6 +9,8 @@
namespace Dynarmic::BackendX64 {
Callback::~Callback() = default;
void SimpleCallback::EmitCall(BlockOfCode& code, std::function<void(RegList)> l) const {
l({code.ABI_PARAM1, code.ABI_PARAM2, code.ABI_PARAM3, code.ABI_PARAM4});
code.CallFunction(fn);