소스 검색

+ 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 8 년 전
부모
커밋
e5dad9c98c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;