From 18a863c7e9cfa05b7a8ff7b2e1abb89a79f3c6d3 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 29 Apr 2019 22:37:16 +0000 Subject: [PATCH] [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 --- include/llvm/ExecutionEngine/JITLink/JITLink.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.40.0