mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 11:53:58 +02:00
variable trashing: don't trash internal syms
Since they're managed by the code generator, they should always be valid.
This commit is contained in:
parent
0e9ea11859
commit
5012e45d04
@ -889,6 +889,8 @@ implementation
|
||||
begin
|
||||
if not(tsym(p).typ in [localvarsym,paravarsym]) then
|
||||
exit;
|
||||
if sp_internal in tsym(p).symoptions then
|
||||
exit;
|
||||
maybe_trash_variable(stat^,tabstractnormalvarsym(p),cloadnode.create(tsym(p),tsym(p).owner));
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user