瀏覽代碼

* fixed compilation of 8086 compiler.

git-svn-id: trunk@31746 -
yury 10 年之前
父節點
當前提交
374148b966
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      compiler/ncgld.pas
  2. 1 1
      compiler/x86/nx86mat.pas

+ 1 - 1
compiler/ncgld.pas

@@ -589,7 +589,7 @@ implementation
          alignmentrequirement,
          len : aint;
          r : tregister;
-         {$if not defined(cpu64bitalu) and not defined(x86)}
+         {$if not defined(cpu64bitalu)}
          r64 : tregister64;
          {$endif}
          oldflowcontrol : tflowcontrol;

+ 1 - 1
compiler/x86/nx86mat.pas

@@ -230,7 +230,7 @@ interface
     procedure tx86notnode.second_boolean;
       var
          opsize : tcgsize;
-         {$if defined(cpu32bitalu)}
+         {$if defined(cpu32bitalu) or defined(cpu16bitalu)}
          hreg: tregister;
          {$endif}
       begin