mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 04:07:30 +01:00
* removed misleading non-working automatic save/restore of registers for profiling code (must be done manually in tcg.g_profilecode)
git-svn-id: trunk@3269 -
This commit is contained in:
parent
2b3c7280d8
commit
7a068de50a
@ -1691,9 +1691,7 @@ implementation
|
|||||||
if not (target_info.system in [system_i386_win32,system_i386_wdosx]) or
|
if not (target_info.system in [system_i386_win32,system_i386_wdosx]) or
|
||||||
not (current_procinfo.procdef.proctypeoption=potype_proginit) then
|
not (current_procinfo.procdef.proctypeoption=potype_proginit) then
|
||||||
begin
|
begin
|
||||||
cg.allocallcpuregisters(list);
|
|
||||||
cg.g_profilecode(list);
|
cg.g_profilecode(list);
|
||||||
cg.deallocallcpuregisters(list);
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user