* 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:
Jonas Maebe 2014-07-12 22:13:50 +00:00
parent b494f76b81
commit 8ca4c80785

View File

@ -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;