[llvm] r359510 - [JITLink] Move a typedef.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 15:37:17 PDT 2019


Author: lhames
Date: Mon Apr 29 15:37:16 2019
New Revision: 359510

URL: http://llvm.org/viewvc/llvm-project?rev=359510&view=rev
Log:
[JITLink] Move a typedef.

The FinalizeContinuation typedef belongs on the Allocation class, not the
allocator.

Modified:
    llvm/trunk/include/llvm/ExecutionEngine/JITLink/JITLink.h

Modified: llvm/trunk/include/llvm/ExecutionEngine/JITLink/JITLink.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/JITLink/JITLink.h?rev=359510&r1=359509&r2=359510&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/JITLink/JITLink.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/JITLink/JITLink.h Mon Apr 29 15:37:16 2019
@@ -77,8 +77,6 @@ public:
 
   using SegmentsRequestMap = DenseMap<unsigned, SegmentRequest>;
 
-  using FinalizeContinuation = std::function<void(Error)>;
-
   /// 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<void(Error)>;
+
     virtual ~Allocation();
 
     /// Should return the address of linker working memory for the segment with




More information about the llvm-commits mailing list