summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2017-03-21 16:45:48 +0000
committerMerryMage <MerryMage@users.noreply.github.com>2017-03-21 16:56:43 +0000
commit8a788ebdd9d6e96f1db3b37aed5f176f2d4854ff (patch)
treea99105d2abf94de087e1d2a18ac262e92ea99128 /Source/Core
parentd2690568f9cf18c613ca2111d06ee3c2290abd2c (diff)
JitAsm: Add missing forward declaration of X64CodeBlock
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/JitAsm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/JitAsm.h b/Source/Core/Core/PowerPC/Jit64/JitAsm.h
index 3166f7931d..2cdac46b45 100644
--- a/Source/Core/Core/PowerPC/Jit64/JitAsm.h
+++ b/Source/Core/Core/PowerPC/Jit64/JitAsm.h
@@ -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);
};