From a745f02a07fb89428386787957ded172ace8d9b4 Mon Sep 17 00:00:00 2001 From: scribam Date: Wed, 5 Sep 2018 22:52:34 +0200 Subject: [PATCH] cleanup: remove compatibility code for old versions of clang --- Utilities/JIT.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Utilities/JIT.cpp b/Utilities/JIT.cpp index cef148eee7..08e53d12a1 100644 --- a/Utilities/JIT.cpp +++ b/Utilities/JIT.cpp @@ -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;