mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
cleanup: remove compatibility code for old versions of clang
This commit is contained in:
parent
f83d381e1e
commit
a745f02a07
@ -1,9 +1,5 @@
|
|||||||
#include "JIT.h"
|
#include "JIT.h"
|
||||||
|
|
||||||
#ifndef _XABORT_RETRY
|
|
||||||
#define _XABORT_RETRY (1 << 1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
asmjit::JitRuntime& asmjit::get_global_runtime()
|
asmjit::JitRuntime& asmjit::get_global_runtime()
|
||||||
{
|
{
|
||||||
// Magic static
|
// Magic static
|
||||||
@ -473,7 +469,7 @@ public:
|
|||||||
{
|
{
|
||||||
auto buf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(cached.size());
|
auto buf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(cached.size());
|
||||||
cached.read(buf->getBufferStart(), buf->getBufferSize());
|
cached.read(buf->getBufferStart(), buf->getBufferSize());
|
||||||
return std::move(buf);
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user