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/IndirectionUtils.cpp | |
parent | 6b936d88a46b716977445966e124af9e3d300f52 (diff) | |
download | llvm-2f8c6f93626ece59af259e36fa3dbff33bfe24e5.zip llvm-2f8c6f93626ece59af259e36fa3dbff33bfe24e5.tar.gz llvm-2f8c6f93626ece59af259e36fa3dbff33bfe24e5.tar.bz2 |
[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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp b/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp index 0b52ba8..cc3656f 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 { |