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
1 changed files with 1 additions and 5 deletions

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;