diff options
| author | Lang Hames <lhames@gmail.com> | 2019-10-30 14:54:54 -0700 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2019-10-30 17:57:03 -0700 |
| commit | 58e66f2f6375dd3c63f5854abd908298a73851d9 (patch) | |
| tree | 200ecfa1471d875cab718d0a68753af1dc6ac392 /llvm/lib/ExecutionEngine | |
| parent | 004ed2b0d1b86d424643ffc88fce20ad8bab6804 (diff) | |
| download | bcm5719-llvm-58e66f2f6375dd3c63f5854abd908298a73851d9.tar.gz bcm5719-llvm-58e66f2f6375dd3c63f5854abd908298a73851d9.zip | |
[JITLink] Move block ownership from LinkGraph to Section.
This enables easy iteration over blocks in a specific section.
Diffstat (limited to 'llvm/lib/ExecutionEngine')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JITLink/JITLink.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp b/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp index ab45d33fe29..9df79670d9f 100644 --- a/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp +++ b/llvm/lib/ExecutionEngine/JITLink/JITLink.cpp @@ -145,10 +145,6 @@ void printEdge(raw_ostream &OS, const Block &B, const Edge &E, Section::~Section() { for (auto *Sym : Symbols) Sym->~Symbol(); -} - -LinkGraph::~LinkGraph() { - // Destroy blocks. for (auto *B : Blocks) B->~Block(); } |

