Allow compilation of ppudump with -dHEAPTRC command line option

git-svn-id: trunk@22422 -
This commit is contained in:
pierre 2012-09-19 07:08:35 +00:00
parent e2e4634295
commit de2543f2bd

View File

@ -166,10 +166,12 @@ implementation
uses
SysUtils,
Comphook,
{$ifndef GENERIC_CPU}
{$ifdef heaptrc}
fmodule,
ppheap,
{$endif heaptrc}
{$endif not GENERIC_CPU}
cfileutl,
Globals,Systems
;
@ -544,9 +546,11 @@ uses
{ update cache }
cacheindex:=last_ref_index;
cacheinputfile:=f;
{$ifndef GENERIC_CPU}
{$ifdef heaptrc}
ppheap_register_file(f.path+f.name,current_module.unit_index*100000+f.ref_index);
{$endif heaptrc}
{$endif not GENERIC_CPU}
end;