mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* each record with managed field or with any management operator needs init table (update for symdef.pas, trecorddef.needs_inittable)
git-svn-id: trunk@35440 -
This commit is contained in:
parent
15ba9b54c6
commit
b912deae33
@ -4543,7 +4543,10 @@ implementation
|
||||
|
||||
function trecorddef.needs_inittable : boolean;
|
||||
begin
|
||||
needs_inittable:=trecordsymtable(symtable).needs_init_final
|
||||
{ each record with managed field or with any management operator needs
|
||||
init table }
|
||||
needs_inittable:=(trecordsymtable(symtable).managementoperators<>[]) or
|
||||
trecordsymtable(symtable).needs_init_final
|
||||
end;
|
||||
|
||||
function trecorddef.needs_separate_initrtti : boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user