mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[ORC] Add a const version of ThreadSafeModule::getModule().
llvm-svn: 343287
This commit is contained in:
parent
1accc97014
commit
3c8d6a2f70
@ -126,6 +126,9 @@ public:
|
||||
/// Get the module wrapped by this ThreadSafeModule.
|
||||
Module* getModule() { return M.get(); }
|
||||
|
||||
/// Get the module wrapped by this ThreadSafeModule.
|
||||
const Module* getModule() const { return M.get(); }
|
||||
|
||||
/// Take out a lock on the ThreadSafeContext for this module.
|
||||
ThreadSafeContext::Lock getContextLock() { return TSCtx.getLock(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user