mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Re-enabling MCJIT object caching with memory leak fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180575 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -44,6 +44,7 @@ class JITMemoryManager;
|
||||
class MachineCodeInfo;
|
||||
class Module;
|
||||
class MutexGuard;
|
||||
class ObjectCache;
|
||||
class DataLayout;
|
||||
class Triple;
|
||||
class Type;
|
||||
@ -373,6 +374,12 @@ public:
|
||||
virtual void RegisterJITEventListener(JITEventListener *) {}
|
||||
virtual void UnregisterJITEventListener(JITEventListener *) {}
|
||||
|
||||
/// Sets the pre-compiled object cache. The ownership of the ObjectCache is
|
||||
/// not changed. Supported by MCJIT but not JIT.
|
||||
virtual void setObjectCache(ObjectCache *) {
|
||||
llvm_unreachable("No support for an object cache");
|
||||
}
|
||||
|
||||
/// DisableLazyCompilation - When lazy compilation is off (the default), the
|
||||
/// JIT will eagerly compile every function reachable from the argument to
|
||||
/// getPointerToFunction. If lazy compilation is turned on, the JIT will only
|
||||
|
Reference in New Issue
Block a user