mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 15:38:26 +02:00
* optimization of TRttiInstanceType.ResolveExtendedDeclaredProperties
This commit is contained in:
parent
e552165b7a
commit
1f19edef00
@ -6549,7 +6549,6 @@ begin
|
|||||||
if TP^.PropParams <> nil then
|
if TP^.PropParams <> nil then
|
||||||
begin
|
begin
|
||||||
Dec(PropCount);
|
Dec(PropCount);
|
||||||
SetLength(FDeclaredProperties, PropCount);
|
|
||||||
continue;
|
continue;
|
||||||
end;
|
end;
|
||||||
Prop := TRttiProperty(GRttiPool[FUsePublishedOnly].GetByHandle(TP));
|
Prop := TRttiProperty(GRttiPool[FUsePublishedOnly].GetByHandle(TP));
|
||||||
@ -6564,6 +6563,7 @@ begin
|
|||||||
Inc(J);
|
Inc(J);
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
|
SetLength(FDeclaredProperties, PropCount);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user