mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 17:49:07 +02:00
* mark tasmsymbols as declared in the taillvmdecl constructor so that we
don't have to do this everywhere such a declaration is generated git-svn-id: branches/hlcgllvm@28202 -
This commit is contained in:
parent
b494f76b81
commit
8ca4c80785
@ -184,6 +184,7 @@ uses
|
|||||||
def:=_def;
|
def:=_def;
|
||||||
initdata:=_initdata;
|
initdata:=_initdata;
|
||||||
sec:=_sec;
|
sec:=_sec;
|
||||||
|
_namesym.declared:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor taillvmdecl.destroy;
|
destructor taillvmdecl.destroy;
|
||||||
@ -226,7 +227,6 @@ uses
|
|||||||
def:=tpointerdef(def).pointeddef;
|
def:=tpointerdef(def).pointeddef;
|
||||||
end;
|
end;
|
||||||
current_asmdata.AsmLists[al_imports].concat(taillvmdecl.create(ref.symbol,def,nil,sec_none));
|
current_asmdata.AsmLists[al_imports].concat(taillvmdecl.create(ref.symbol,def,nil,sec_none));
|
||||||
ref.symbol.declared:=true;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user