summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-06-13 20:11:23 +0000
committerLang Hames <lhames@gmail.com>2019-06-13 20:11:23 +0000
commit2f8c6f93626ece59af259e36fa3dbff33bfe24e5 (patch)
tree558271c41e74dfe82c3d3813c49c31917155463f /llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
parent6b936d88a46b716977445966e124af9e3d300f52 (diff)
downloadbcm5719-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/IndirectionUtils.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp b/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
index 0b52ba813ab..cc3656fe5dc 100644
--- a/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
@@ -37,8 +37,8 @@ private:
void materialize(MaterializationResponsibility R) override {
SymbolMap Result;
Result[Name] = JITEvaluatedSymbol(Compile(), JITSymbolFlags::Exported);
- R.resolve(Result);
- R.emit();
+ R.notifyResolved(Result);
+ R.notifyEmitted();
}
void discard(const JITDylib &JD, const SymbolStringPtr &Name) override {
OpenPOWER on IntegriCloud