MCPcopy Create free account
hub / github.com/WheretIB/nullc / nullcTerminate

Function nullcTerminate

NULLC/nullc.cpp:889–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887#endif
888
889void nullcTerminate()
890{
891 using namespace NULLC;
892 nullcLastError = "";
893 if(!initialized)
894 return;
895
896 NULLC::dealloc(argBuf);
897 argBuf = NULL;
898
899 BinaryCache::Terminate();
900
901 NULLC::destruct(compiler);
902 compiler = NULL;
903#ifndef NULLC_NO_EXECUTOR
904 nullcDeinitTypeinfoModule();
905 nullcDeinitDynamicModule();
906
907 NULLC::destruct(linker);
908 linker = NULL;
909 NULLC::destruct(executor);
910 executor = NULL;
911#endif
912#ifdef NULLC_BUILD_X86_JIT
913 NULLC::destruct(executorX86);
914 executorX86 = NULL;
915#endif
916#ifndef NULLC_NO_EXECUTOR
917 NULLC::ResetMemory();
918#endif
919 CodeInfo::funcInfo.reset();
920 CodeInfo::varInfo.reset();
921 CodeInfo::typeInfo.reset();
922
923 CodeInfo::cmdList.reset();
924 CodeInfo::nodeList.reset();
925 CodeInfo::funcDefList.reset();
926
927 CodeInfo::cmdInfoList.Reset();
928
929 CodeInfo::typeArrays.reset();
930 CodeInfo::typeFunctions.reset();
931 CodeInfo::classMap.reset();
932
933 CodeInfo::namespaceInfo.reset();
934
935 initialized = false;
936}
937
938//////////////////////////////////////////////////////////////////////////
939/* nullc_debug.h functions */

Callers 10

RunTestsFunction · 0.85
WinMainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunInterfaceTestsFunction · 0.85
SpeedTestTextFunction · 0.85

Calls 5

destructFunction · 0.85
nullcDeinitDynamicModuleFunction · 0.85
ResetMethod · 0.80
resetMethod · 0.45

Tested by 7

RunTestsFunction · 0.68
RunMethod · 0.68
RunMethod · 0.68
RunMethod · 0.68
RunMethod · 0.68
RunInterfaceTestsFunction · 0.68
SpeedTestTextFunction · 0.68