mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:59:42 +02:00
* fixed insertion of typed constants twice in bss after r18723
for non-jvm targets (and once using a mangled name for global variables rather than for typed constants) git-svn-id: branches/jvmbackend@18794 -
This commit is contained in:
parent
7da5987d03
commit
1d2748fa69
@ -1762,6 +1762,7 @@ implementation
|
||||
fieldvs:=tfieldvarsym(sc[i]);
|
||||
fieldvs.visibility:=visibility;
|
||||
hstaticvs:=make_field_static(recst,fieldvs);
|
||||
cnodeutils.insertbssdata(hstaticvs);
|
||||
if vd_final in options then
|
||||
hstaticvs.varspez:=vs_final;
|
||||
end;
|
||||
|
@ -1165,7 +1165,6 @@ implementation
|
||||
{$else jvm}
|
||||
include(hstaticvs.symoptions,sp_internal);
|
||||
tabstractrecordsymtable(recst).get_unit_symtable.insert(hstaticvs);
|
||||
cnodeutils.insertbssdata(hstaticvs);
|
||||
{$endif jvm}
|
||||
{ generate the symbol for the access }
|
||||
sl:=tpropaccesslist.create;
|
||||
|
Loading…
Reference in New Issue
Block a user