* noopt for non-i386 targets

This commit is contained in:
carl 2002-11-09 15:32:30 +00:00
parent 9a151c3d65
commit 6d8024afc4

View File

@ -326,14 +326,12 @@ implementation
aktprocdef.usedregisters:=rg.usedinproc; aktprocdef.usedregisters:=rg.usedinproc;
procinfo.aktproccode.insertlist(procinfo.aktentrycode); procinfo.aktproccode.insertlist(procinfo.aktentrycode);
procinfo.aktproccode.concatlist(procinfo.aktexitcode); procinfo.aktproccode.concatlist(procinfo.aktexitcode);
{$ifdef i386} {$ifndef NoOpt}
{$ifndef NoOpt}
if (cs_optimize in aktglobalswitches) and if (cs_optimize in aktglobalswitches) and
{ do not optimize pure assembler procedures } { do not optimize pure assembler procedures }
((procinfo.flags and pi_is_assembler)=0) then ((procinfo.flags and pi_is_assembler)=0) then
Optimize(procinfo.aktproccode); Optimize(procinfo.aktproccode);
{$endif NoOpt} {$endif NoOpt}
{$endif i386}
{ save local data (casetable) also in the same file } { save local data (casetable) also in the same file }
if assigned(procinfo.aktlocaldata) and if assigned(procinfo.aktlocaldata) and
(not procinfo.aktlocaldata.empty) then (not procinfo.aktlocaldata.empty) then
@ -788,7 +786,10 @@ implementation
end. end.
{ {
$Log$ $Log$
Revision 1.72 2002-09-10 20:31:48 florian Revision 1.73 2002-11-09 15:32:30 carl
* noopt for non-i386 targets
Revision 1.72 2002/09/10 20:31:48 florian
* call to procinfo.after_header added * call to procinfo.after_header added
Revision 1.71 2002/09/07 15:25:07 peter Revision 1.71 2002/09/07 15:25:07 peter