mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-28 03:00:53 +01:00
AOTIR: Fix IRList delete
This commit is contained in:
1 parent
6a43db8c8f
commit
227462e4d8
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -360,7 +360,7 @@ namespace FEXCore::IR {
|
||||
else {
|
||||
// If the IR doesn't need to be retained then we can just delete it now
|
||||
delete DebugData;
|
||||
delete IRList;
|
||||
if (IRList->IsCopy()) delete IRList;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -181,7 +181,7 @@ public:
|
||||
//size_t ListSize;
|
||||
stream.write((const char*)&ListSize, sizeof(ListSize));
|
||||
//uint64_t Flags;
|
||||
uint64_t WrittenFlags = Flags | FLAG_Shared; //on disk format always has the Shared flag
|
||||
uint64_t WrittenFlags = FLAG_Shared; //on disk format always has the Shared flag
|
||||
stream.write((const char*)&WrittenFlags, sizeof(WrittenFlags));
|
||||
|
||||
// inline data
|
||||
@@ -200,7 +200,7 @@ public:
|
||||
//size_t ListSize;
|
||||
memcpy(ptr, &ListSize, sizeof(ListSize)); ptr += sizeof(ListSize);
|
||||
//uint64_t Flags;
|
||||
uint64_t WrittenFlags = Flags | FLAG_Shared; //on disk format always has the Shared flag
|
||||
uint64_t WrittenFlags = FLAG_Shared; //on disk format always has the Shared flag
|
||||
memcpy(ptr, &WrittenFlags, sizeof(WrittenFlags)); ptr += sizeof(WrittenFlags);
|
||||
|
||||
// inline data
|
||||
|
||||
Reference in new issue
Block a user