mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-28 20:39:27 +02:00
* do not store references to dyn. arrays
git-svn-id: trunk@26741 -
This commit is contained in:
parent
3e4198ea45
commit
25fc10b556
@ -201,7 +201,7 @@ unit optcse;
|
|||||||
one instruction on every platform except i8086/i386
|
one instruction on every platform except i8086/i386
|
||||||
so consider in this case loading the address of the data
|
so consider in this case loading the address of the data
|
||||||
}
|
}
|
||||||
(((n.resultdef.typ in [arraydef,recorddef]) or is_object(n.resultdef)) and
|
(((n.resultdef.typ in [arraydef,recorddef]) or is_object(n.resultdef)) and not(is_dynamic_array(n.resultdef)) and
|
||||||
(n.nodetype=loadn) and
|
(n.nodetype=loadn) and
|
||||||
(tloadnode(n).symtableentry.typ=staticvarsym)
|
(tloadnode(n).symtableentry.typ=staticvarsym)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user