mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-23 18:56:02 +02:00
* loadvmtaddrnode accesses global data only when left.nodetype=typen.
git-svn-id: trunk@26742 -
This commit is contained in:
parent
25fc10b556
commit
07ce8f46a4
@ -231,7 +231,8 @@ implementation
|
||||
begin
|
||||
result:=nil;
|
||||
expectloc:=LOC_REGISTER;
|
||||
if (cs_create_pic in current_settings.moduleswitches) then
|
||||
if (left.nodetype=typen) and
|
||||
(cs_create_pic in current_settings.moduleswitches) then
|
||||
include(current_procinfo.flags,pi_needs_got);
|
||||
if left.nodetype<>typen then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user