Skip to content

Commit

Permalink
Merge pull request #5119 from MerryMage/JitAsm
Browse files Browse the repository at this point in the history
JitAsm: Add missing forward declaration of X64CodeBlock
  • Loading branch information
degasus committed Mar 21, 2017
2 parents d269056 + 8a788eb commit fc2c9d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Source/Core/Core/PowerPC/Jit64/JitAsm.h
Expand Up @@ -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.
Expand Down Expand Up @@ -40,5 +45,5 @@ class Jit64AsmRoutineManager : public CommonAsmRoutines
}

void Shutdown() { FreeCodeSpace(); }
void ResetStack(X64CodeBlock& emitter);
void ResetStack(Gen::X64CodeBlock& emitter);
};

0 comments on commit fc2c9d8

Please sign in to comment.