mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-03 00:07:28 +01:00
* unnecessary loads of constants are now also remove by
removePrevNotUsedLoad()
This commit is contained in:
parent
8112592c45
commit
f9e7a027b9
@ -1305,7 +1305,7 @@ var
|
||||
begin
|
||||
if getLastInstruction(p,hp1) then
|
||||
with pTaiprop(hp1.optInfo)^.regs[reg] do
|
||||
if (typ in [con_ref,con_invalid]) and
|
||||
if (typ in [con_ref,con_invalid,con_const]) and
|
||||
(nrOfMods = 1) and
|
||||
(rState = pTaiprop(startmod.optInfo)^.regs[reg].rState) and
|
||||
(not(check) or
|
||||
@ -1956,7 +1956,11 @@ End.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.22 2001-11-30 16:35:02 jonas
|
||||
Revision 1.23 2001-12-04 15:58:13 jonas
|
||||
* unnecessary loads of constants are now also remove by
|
||||
removePrevNotUsedLoad()
|
||||
|
||||
Revision 1.22 2001/11/30 16:35:02 jonas
|
||||
* added missing allocregbetween() call for a memtoreg() optimization
|
||||
|
||||
Revision 1.21 2001/10/27 10:20:43 jonas
|
||||
|
||||
Loading…
Reference in New Issue
Block a user