mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 16:29:27 +01:00
* don't use normal assingments for inlining of formal consts
git-svn-id: trunk@393 -
This commit is contained in:
parent
8efe880649
commit
34ed3ae7a5
@ -2130,6 +2130,7 @@ type
|
||||
(vo_is_funcret in tparavarsym(para.parasym).varoptions) or
|
||||
(para.parasym.varspez = vs_value) or
|
||||
((para.parasym.varspez = vs_const) and
|
||||
(para.parasym.vartype.def.deftype<>formaldef) and
|
||||
{ the compiler expects that it can take the address of parameters passed by reference in
|
||||
the case of const so we can't replace the node simply by a constant node
|
||||
When playing with this code, ensure that
|
||||
|
||||
Loading…
Reference in New Issue
Block a user