mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +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;
|
||||
initdata:=_initdata;
|
||||
sec:=_sec;
|
||||
_namesym.declared:=true;
|
||||
end;
|
||||
|
||||
destructor taillvmdecl.destroy;
|
||||
@ -226,7 +227,6 @@ uses
|
||||
def:=tpointerdef(def).pointeddef;
|
||||
end;
|
||||
current_asmdata.AsmLists[al_imports].concat(taillvmdecl.create(ref.symbol,def,nil,sec_none));
|
||||
ref.symbol.declared:=true;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user