diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-01-21 23:28:34 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-01-21 23:28:34 +0000 |
commit | 1903b037de2fb3e75826406b46f055acb70963fa (patch) | |
tree | 604cd8b790fe14e5fbe441d4cd647c80d2a36a9a /compiler/assemble.pas | |
parent | ad1141d52f8353457053b925cd674fe1d5c4eafc (diff) | |
parent | 953d907e4d6c3a5c2f8aaee6e5e4f73c55ce5985 (diff) | |
download | fpc-blocks.tar.gz |
* synchronised with trunk till r29513blocks
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/blocks@29516 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/assemble.pas')
-rw-r--r-- | compiler/assemble.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/assemble.pas b/compiler/assemble.pas index 609877e342..f3539291b9 100644 --- a/compiler/assemble.pas +++ b/compiler/assemble.pas @@ -1736,7 +1736,8 @@ Implementation if not(tf_section_threadvars in target_info.flags) then exclude(to_do,al_threadvars); for i:=low(TasmlistType) to high(TasmlistType) do - if (i in to_do) and (current_asmdata.asmlists[i]<>nil) then + if (i in to_do) and (current_asmdata.asmlists[i]<>nil) and + (not current_asmdata.asmlists[i].empty) then addlist(current_asmdata.asmlists[i]); if SmartAsm then |