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

Method CleanCode

NULLC/Linker.cpp:32–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void Linker::CleanCode()
33{
34 exTypes.clear();
35 exTypeExtra.clear();
36 exVariables.clear();
37 exFunctions.clear();
38 exCode.clear();
39 exSymbols.clear();
40 exLocals.clear();
41 exModules.clear();
42 exCodeInfo.clear();
43 exSource.clear();
44 exCloseLists.clear();
45
46#ifdef NULLC_LLVM_SUPPORT
47 llvmModuleSizes.clear();
48 llvmModuleCodes.clear();
49#endif
50
51 jumpTargets.clear();
52
53 globalVarSize = 0;
54 offsetToGlobalCode = 0;
55
56 typeRemap.clear();
57 funcRemap.clear();
58 moduleRemap.clear();
59
60 funcMap.clear();
61
62 NULLC::ClearMemory();
63}
64
65bool Linker::LinkCode(const char *code)
66{

Callers 1

nullcCleanFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected