diff options
author | Lang Hames <lhames@gmail.com> | 2023-09-28 08:53:17 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2023-09-28 10:30:38 -0700 |
commit | e994f84c8a6da60ef5426764ffb7b2487a2bf6e0 (patch) | |
tree | 001aa640c9140e26c3fa8835c28a91ec1ccaa2be /llvm/tools/llvm-jitlink | |
parent | e52899ea521c113750a5f3d8c7365140f5846dab (diff) | |
download | llvm-e994f84c8a6da60ef5426764ffb7b2487a2bf6e0.zip llvm-e994f84c8a6da60ef5426764ffb7b2487a2bf6e0.tar.gz llvm-e994f84c8a6da60ef5426764ffb7b2487a2bf6e0.tar.bz2 |
[ORC] Rename MemLifetimePolicy to MemLifetime.
The *Policy suffix came from the earlier MemAllocPolicy type, where it was
included to distinguish the type from a memory-allocation operation.
MemLifetime is a noun already, so the *Policy suffix is just dead weight now.
Diffstat (limited to 'llvm/tools/llvm-jitlink')
-rw-r--r-- | llvm/tools/llvm-jitlink/llvm-jitlink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp index 42ef651..c1354ee 100644 --- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp +++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp @@ -512,7 +512,7 @@ public: auto FixedAI = std::move(AI); FixedAI.MappingBase -= DeltaAddr; for (auto &Seg : FixedAI.Segments) - Seg.AG = {MemProt::Read | MemProt::Write, Seg.AG.getMemLifetimePolicy()}; + Seg.AG = {MemProt::Read | MemProt::Write, Seg.AG.getMemLifetime()}; FixedAI.Actions.clear(); InProcessMemoryMapper::initialize( FixedAI, [this, OnInitialized = std::move(OnInitialized)]( |