diff options
author | Lang Hames <lhames@gmail.com> | 2019-06-13 20:11:23 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2019-06-13 20:11:23 +0000 |
commit | 2f8c6f93626ece59af259e36fa3dbff33bfe24e5 (patch) | |
tree | 558271c41e74dfe82c3d3813c49c31917155463f /llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp | |
parent | 6b936d88a46b716977445966e124af9e3d300f52 (diff) | |
download | bcm5719-llvm-2f8c6f93626ece59af259e36fa3dbff33bfe24e5.tar.gz bcm5719-llvm-2f8c6f93626ece59af259e36fa3dbff33bfe24e5.zip |
[ORC] Rename MaterializationResponsibility resolve and emit methods to
notifyResolved/notifyEmitted.
The 'notify' prefix better describes what these methods do: they update the JIT
symbol states and notify any pending queries that the 'resolved' and 'emitted'
states have been reached (rather than actually performing the resolution or
emission themselves). Since new states are going to be introduced in the near
future (to track symbol registration/initialization) it's worth changing the
convention pre-emptively to avoid further confusion.
llvm-svn: 363322
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp b/llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp index c7abce99002..640d1d922c7 100644 --- a/llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp +++ b/llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp @@ -127,7 +127,7 @@ public: if (auto Err = MR.defineMaterializing(ExtraSymbolsToClaim)) return notifyFailed(std::move(Err)); - MR.resolve(InternedResult); + MR.notifyResolved(InternedResult); Layer.notifyLoaded(MR); } @@ -141,7 +141,7 @@ public: return; } - MR.emit(); + MR.notifyEmitted(); } AtomGraphPassFunction getMarkLivePass(const Triple &TT) const override { |