summaryrefslogtreecommitdiffstats
path: root/src/common/x64/abi.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-08-12 06:00:44 +0200
committerbunnei <bunneidev@gmail.com>2015-08-16 00:03:25 +0200
commitbd7e691f78d916ed6ae5396b2d646d9b3a053dd7 (patch)
treea20367004f684afeca83e795ce66e62115e8e79d /src/common/x64/abi.cpp
parentJIT: Support negative address offsets. (diff)
downloadyuzu-bd7e691f78d916ed6ae5396b2d646d9b3a053dd7.tar
yuzu-bd7e691f78d916ed6ae5396b2d646d9b3a053dd7.tar.gz
yuzu-bd7e691f78d916ed6ae5396b2d646d9b3a053dd7.tar.bz2
yuzu-bd7e691f78d916ed6ae5396b2d646d9b3a053dd7.tar.lz
yuzu-bd7e691f78d916ed6ae5396b2d646d9b3a053dd7.tar.xz
yuzu-bd7e691f78d916ed6ae5396b2d646d9b3a053dd7.tar.zst
yuzu-bd7e691f78d916ed6ae5396b2d646d9b3a053dd7.zip
Diffstat (limited to '')
-rw-r--r--src/common/x64/abi.cpp (renamed from src/common/abi.cpp)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/abi.cpp b/src/common/x64/abi.cpp
index d1892ad48..598e7f335 100644
--- a/src/common/abi.cpp
+++ b/src/common/x64/abi.cpp
@@ -15,8 +15,8 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
-#include "x64_emitter.h"
#include "abi.h"
+#include "emitter.h"
using namespace Gen;
@@ -27,7 +27,7 @@ void XEmitter::ABI_EmitPrologue(int maxCallParams)
{
#ifdef _M_IX86
// Don't really need to do anything
-#elif defined(_M_X86_64)
+#elif defined(ARCHITECTURE_X64)
#if _WIN32
int stacksize = ((maxCallParams + 1) & ~1) * 8 + 8;
// Set up a stack frame so that we can call functions
@@ -43,7 +43,7 @@ void XEmitter::ABI_EmitEpilogue(int maxCallParams)
{
#ifdef _M_IX86
RET();
-#elif defined(_M_X86_64)
+#elif defined(ARCHITECTURE_X64)
#ifdef _WIN32
int stacksize = ((maxCallParams+1)&~1)*8 + 8;
ADD(64, R(RSP), Imm8(stacksize));