瀏覽代碼

* don't call make_simple_ref in tcgx86.g_concatcopy on i8086, because that
screws up the handling of segmented references badly and breaks the large,
compact and huge memory models completely

git-svn-id: trunk@33314 -

nickysn 9 年之前
父節點
當前提交
c4343c1a2d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/x86/cgx86.pas

+ 2 - 0
compiler/x86/cgx86.pas

@@ -2352,8 +2352,10 @@ unit cgx86;
     begin
     begin
       srcref:=source;
       srcref:=source;
       dstref:=dest;
       dstref:=dest;
+{$ifndef i8086}
       make_simple_ref(list,srcref);
       make_simple_ref(list,srcref);
       make_simple_ref(list,dstref);
       make_simple_ref(list,dstref);
+{$endif not i8086}
       cm:=copy_move;
       cm:=copy_move;
       helpsize:=3*sizeof(aword);
       helpsize:=3*sizeof(aword);
       if cs_opt_size in current_settings.optimizerswitches then
       if cs_opt_size in current_settings.optimizerswitches then