mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
[MCJIT] Unique-ptrify the RTDyldMemoryManager member of MCJIT. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223183 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -163,7 +163,7 @@ TEST_F(MCJITObjectCacheTest, VerifyLoadFromCache) {
|
||||
TheJIT.reset();
|
||||
|
||||
// Create a new memory manager.
|
||||
MM = new SectionMemoryManager;
|
||||
MM.reset(new SectionMemoryManager());
|
||||
|
||||
// Create a new module and save it. Use a different return code so we can
|
||||
// tell if MCJIT compiled this module or used the cache.
|
||||
@@ -197,7 +197,7 @@ TEST_F(MCJITObjectCacheTest, VerifyNonLoadFromCache) {
|
||||
TheJIT.reset();
|
||||
|
||||
// Create a new memory manager.
|
||||
MM = new SectionMemoryManager;
|
||||
MM.reset(new SectionMemoryManager());
|
||||
|
||||
// Create a new module and save it. Use a different return code so we can
|
||||
// tell if MCJIT compiled this module or used the cache. Note that we use
|
||||
|
||||
Reference in New Issue
Block a user