1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

cleanup: remove compatibility code for old versions of clang

This commit is contained in:
scribam 2018-09-05 22:52:34 +02:00 committed by Ivan
parent f83d381e1e
commit a745f02a07

View File

@ -1,9 +1,5 @@
#include "JIT.h"
#ifndef _XABORT_RETRY
#define _XABORT_RETRY (1 << 1)
#endif
asmjit::JitRuntime& asmjit::get_global_runtime()
{
// Magic static
@ -473,7 +469,7 @@ public:
{
auto buf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(cached.size());
cached.read(buf->getBufferStart(), buf->getBufferSize());
return std::move(buf);
return buf;
}
return nullptr;