mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Tweak CrashRecoveryContextCleanup::createCleanup() to use the 'delete' cleanup as opposed to the 'destructor' cleanup (reclaims more memory).
llvm-svn: 127865
This commit is contained in:
parent
5327c64434
commit
c7c75361fa
@ -132,7 +132,7 @@ public:
|
||||
template <typename T>
|
||||
struct CrashRecoveryContextTrait {
|
||||
static inline CrashRecoveryContextCleanup *createCleanup(T *resource) {
|
||||
return new CrashRecoveryContextDestructorCleanup<T>(resource);
|
||||
return new CrashRecoveryContextDeleteCleanup<T>(resource);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user