mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 05:32:28 +02:00
* it must be decided in allocate_tls_register if a tls register is allocated
git-svn-id: trunk@43131 -
This commit is contained in:
parent
c0372f80e0
commit
7ee889d4ec
@ -1696,8 +1696,8 @@ implementation
|
||||
{ allocate got register if needed }
|
||||
allocate_got_register(aktproccode);
|
||||
|
||||
if pi_uses_threadvar in flags then
|
||||
allocate_tls_register(aktproccode);
|
||||
{ allocate got register if needed }
|
||||
allocate_tls_register(aktproccode);
|
||||
|
||||
{ Allocate space in temp/registers for parast and localst }
|
||||
current_filepos:=entrypos;
|
||||
@ -1854,7 +1854,6 @@ implementation
|
||||
cg.g_maybe_tls_init(templist);
|
||||
aktproccode.insertlistafter(stackcheck_asmnode.currenttai,templist);
|
||||
|
||||
|
||||
{ re-enable if more code at the end is ever generated here
|
||||
cg.set_regalloc_live_range_direction(rad_forward);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user