[JITLink] Move a typedef.

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

llvm-svn: 359510
This commit is contained in:
Lang Hames 2019-04-29 22:37:16 +00:00
parent 8d6e80f959
commit 6f3eeff762

View File

@ -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