Selaa lähdekoodia

+ set oper.haslabelref in several other places, where a reference, containing a
label is created in the intel syntax x86 assembler. This fixes tfarcal3.pp and
tfarcal4.pp after r37538

git-svn-id: trunk@37541 -

nickysn 7 vuotta sitten
vanhempi
commit
e5dad9c98c
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      compiler/x86/rax86int.pas

+ 2 - 0
compiler/x86/rax86int.pas

@@ -1299,6 +1299,7 @@ Unit Rax86int;
                       begin
                         CreateLocalLabel(tempstr,hl,false);
                         oper.InitRef;
+                        oper.haslabelref:=true;
                         if not negative then
                           begin
                             oper.opr.ref.symbol:=hl;
@@ -1693,6 +1694,7 @@ Unit Rax86int;
            begin
              oper.InitRef;
              oper.opr.ref.symbol:=hl;
+             oper.haslabelref:=true;
 {$ifdef i8086}
              if oper.opr.ref.segment=NR_NO then
                oper.opr.ref.segment:=NR_CS;