mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
LLVM: Add explicit resource-freeing at emulation stop
This commit is contained in:
parent
a24e747e16
commit
81d0dd686b
4 changed files with 44 additions and 0 deletions
|
@ -498,6 +498,8 @@ namespace llvm
|
|||
class StringRef;
|
||||
}
|
||||
|
||||
enum class thread_state : u32;
|
||||
|
||||
// Temporary compiler interface
|
||||
class jit_compiler final
|
||||
{
|
||||
|
@ -515,6 +517,7 @@ class jit_compiler final
|
|||
|
||||
public:
|
||||
jit_compiler(const std::unordered_map<std::string, u64>& _link, const std::string& _cpu, u32 flags = 0, std::function<u64(const std::string&)> symbols_cement = {}) noexcept;
|
||||
jit_compiler& operator=(thread_state) noexcept;
|
||||
~jit_compiler() noexcept;
|
||||
|
||||
// Get LLVM context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue