From f32cede08674031d0fb5b49d5a13c9dbe08d6727 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sun, 14 Jun 2015 16:06:26 +1200 Subject: Revert "x64: build a Position-Independent Executable (PIE)" --- Source/UnitTests/Common/x64EmitterTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp') diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index 6659542dee..766fc0436c 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -19,7 +19,6 @@ #include "Common/CPUDetect.h" #include "Common/x64Emitter.h" -#include "Core/PowerPC/JitCommon/Jit_Util.h" namespace Gen { @@ -95,7 +94,7 @@ protected: memset(&cpu_info, 0xFF, sizeof (cpu_info)); emitter.reset(new X64CodeBlock()); - emitter->AllocCodeSpace(4096, PPCSTATE_BASE); + emitter->AllocCodeSpace(4096); code_buffer = emitter->GetWritableCodePtr(); disasm.reset(new disassembler); -- cgit v1.2.3