Kaynağa Gözat

* when setting up the symbol for the SEH data don't check whether it is global, instead check whether it's a function

git-svn-id: trunk@47107 -
svenbarth 4 yıl önce
ebeveyn
işleme
0c2494bec8
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      compiler/aarch64/agcpugas.pas

+ 2 - 1
compiler/aarch64/agcpugas.pas

@@ -313,10 +313,11 @@ unit agcpugas;
                       tmplist.free;
                       tmplist:=nil;
                     end;
+
                 end;
               ait_symbol:
                 begin
-                  if tai_symbol(hp).is_global then
+                  if tai_symbol(hp).sym.typ=AT_FUNCTION then
                     lastsym:=tai_symbol(hp);
                 end;
               ait_instruction: