Преглед на файлове

* 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 преди 5 години
родител
ревизия
0c2494bec8
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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: