diff options
| author | Matthew Parlane <parlane@gmail.com> | 2015-06-14 16:06:26 +1200 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2015-06-14 16:06:26 +1200 |
| commit | f32cede08674031d0fb5b49d5a13c9dbe08d6727 (patch) | |
| tree | c443ad176bc2f4edee0fddc57686b48d79e60021 /Source/UnitTests/Common/x64EmitterTest.cpp | |
| parent | c981f6407eb118ae39caf4dc6aa10eddc285d85e (diff) | |
Revert "x64: build a Position-Independent Executable (PIE)"
Diffstat (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/x64EmitterTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
