Remove unneeded zeroing TLS (#4480)
This commit is contained in:
committed by
Stanislav Erokhin
parent
1a97a6ca1a
commit
4297b521e4
@@ -224,11 +224,6 @@ KBoolean Konan_Platform_isDebugBinary() {
|
||||
return KonanNeedDebugInfo ? true : false;
|
||||
}
|
||||
|
||||
void Kotlin_zeroOutTLSGlobals() {
|
||||
if (runtimeState != nullptr && runtimeState->memoryState != nullptr)
|
||||
InitOrDeinitGlobalVariables(DEINIT_THREAD_LOCAL_GLOBALS, runtimeState->memoryState);
|
||||
}
|
||||
|
||||
bool Kotlin_memoryLeakCheckerEnabled() {
|
||||
return g_checkLeaks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user