diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-07-07 16:53:50 +1200 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-07-07 16:53:50 +1200 |
| commit | e14816351e3e4d3b7c6be702d17ce28546b9bc96 (patch) | |
| tree | ce3aa4c02865eff90b997cffd98a0d02378cdefe /Source/UnitTests/Common/x64EmitterTest.cpp | |
| parent | bd196e8c71853ef83a47156117efc2ad581f4b38 (diff) | |
| parent | 0b0f70aad4b21b0fcc55b79d735d9c5c767e8d0d (diff) | |
Merge pull request #2706 from phire/revert-PIE
Revert "Merge pull request #2358 from Tilka/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); |
