* fixed code generation for calling threadvar relocation function

git-svn-id: trunk@1597 -
This commit is contained in:
tom_at_work 2005-10-26 19:42:12 +00:00
parent 3645a69686
commit 10d39167c6

View File

@ -167,7 +167,7 @@ implementation
{ don't save the allocated register else the result will be destroyed later }
reference_reset_symbol(href,objectlibrary.newasmsymbol(tglobalvarsym(symtableentry).mangledname,AB_EXTERNAL,AT_DATA),0);
paramanager.allocparaloc(exprasmlist,paraloc1);
cg.a_param_ref(exprasmlist,OS_ADDR,href,paraloc1);
cg.a_param_ref(exprasmlist,OS_32,href,paraloc1);
paramanager.freeparaloc(exprasmlist,paraloc1);
paraloc1.done;
cg.allocallcpuregisters(exprasmlist);