mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
[JITLink] Move a typedef.
The FinalizeContinuation typedef belongs on the Allocation class, not the allocator. llvm-svn: 359510
This commit is contained in:
parent
8d6e80f959
commit
6f3eeff762
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user