Browse Source

* fixed compilation of 8086 compiler.

git-svn-id: trunk@31746 -
yury 10 years ago
parent
commit
374148b966
2 changed files with 2 additions and 2 deletions
  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