From: Lang Hames Date: Mon, 29 Apr 2019 22:37:16 +0000 (+0000) Subject: [JITLink] Move a typedef. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18a863c7e9cfa05b7a8ff7b2e1abb89a79f3c6d3;p=llvm [JITLink] Move a typedef. The FinalizeContinuation typedef belongs on the Allocation class, not the allocator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359510 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/JITLink/JITLink.h b/include/llvm/ExecutionEngine/JITLink/JITLink.h index cc4149a80aa..4bbb7d8b4b4 100644 --- a/include/llvm/ExecutionEngine/JITLink/JITLink.h +++ b/include/llvm/ExecutionEngine/JITLink/JITLink.h @@ -77,8 +77,6 @@ public: using SegmentsRequestMap = DenseMap; - using FinalizeContinuation = std::function; - /// Represents an allocation created by the memory manager. /// /// An allocation object is responsible for allocating and owning jit-linker @@ -87,6 +85,9 @@ public: /// class Allocation { public: + + using FinalizeContinuation = std::function; + virtual ~Allocation(); /// Should return the address of linker working memory for the segment with