* free a bunch of extra data after a unit is compiled, as it is no longer

needed

git-svn-id: trunk@32203 -
This commit is contained in:
Jonas Maebe 2015-10-30 15:12:37 +00:00
parent 4decb81ac4
commit 79866f9824

View File

@ -1038,6 +1038,38 @@ implementation
macrosymtablestack.free;
macrosymtablestack:=nil;
end;
extendeddefs.free;
extendeddefs:=nil;
genericdummysyms.free;
genericdummysyms:=nil;
waitingforunit.free;
waitingforunit:=nil;
localmacrosymtable.free;
localmacrosymtable:=nil;
ptrdefs.free;
ptrdefs:=nil;
arraydefs.free;
arraydefs:=nil;
procaddrdefs.free;
procaddrdefs:=nil;
{$ifdef llvm}
llvmdefs.free;
llvmdefs:=nil;
{$endif llvm}
checkforwarddefs.free;
checkforwarddefs:=nil;
tcinitcode.free;
tcinitcode:=nil;
localunitsearchpath.free;
localunitsearchpath:=nil;
localobjectsearchpath.free;
localobjectsearchpath:=nil;
localincludesearchpath.free;
localincludesearchpath:=nil;
locallibrarysearchpath.free;
locallibrarysearchpath:=nil;
localframeworksearchpath.free;
localframeworksearchpath:=nil;
end;