mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 18:00:17 +02:00
remove dead code (ObjectCacheRefCounter)
building using libc++ failes due to shared_mutex ObjectCacheRefCounter inflating InternalThreadState beyond FEX_PAGE_SIZE, thus triggering the static assert: ``` FEXCore/Debug/InternalThreadState.h:133:15: error: static assertion failed FEX/FEXCore/include/FEXCore/Debug/InternalThreadState.h:133:145: note: expression evaluates to '7680 < 4096' FEX/FEXCore/include/FEXCore/Debug/InternalThreadState.h:136:58: note: expression evaluates to '12288 == 8192' ``` remove `ObjectCacheRefCounter` as it is not used anywhere. fix: #5456 Signed-off-by: Pepper Gray <hello@peppergray.xyz>
This commit is contained in:
1 parent
215658bf29
commit
bfc51e577f
1 file changed
-2
@@ -104,8 +104,6 @@ struct alignas(FEXCore::Utils::FEX_PAGE_SIZE) InternalThreadState : public FEXCo
|
||||
|
||||
std::shared_ptr<FEXCore::CompileService> CompileService;
|
||||
|
||||
std::shared_mutex ObjectCacheRefCounter {};
|
||||
|
||||
// This pointer is owned by the frontend.
|
||||
FEXCore::SHMStats::ThreadStats* ThreadStats {};
|
||||
|
||||
|
||||
Reference in new issue
Block a user