Merge pull request #5119 from MerryMage/JitAsm

JitAsm: Add missing forward declaration of X64CodeBlock
This commit is contained in:
Markus Wick 2017-03-21 18:06:45 +01:00 committed by GitHub
commit fc2c9d853f
1 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,11 @@
#include "Common/CommonTypes.h"
#include "Core/PowerPC/Jit64Common/Jit64AsmCommon.h"
namespace Gen
{
class X64CodeBlock;
}
// In Dolphin, we don't use inline assembly. Instead, we generate all machine-near
// code at runtime. In the case of fixed code like this, after writing it, we write
// protect the memory, essentially making it work just like precompiled code.
@ -40,5 +45,5 @@ public:
}
void Shutdown() { FreeCodeSpace(); }
void ResetStack(X64CodeBlock& emitter);
void ResetStack(Gen::X64CodeBlock& emitter);
};