Browse Source

* fixed i8086 compilation

git-svn-id: trunk@29807 -
Jonas Maebe 10 years ago
parent
commit
1a949eae1f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/x86/aasmcpu.pas

+ 2 - 0
compiler/x86/aasmcpu.pas

@@ -672,6 +672,7 @@ implementation
            localsize:=fillsize;
            while (localsize>0) do
             begin
+{$ifndef i8086}
               if CPUX86_HAS_CMOV in cpu_capabilities[current_settings.cputype] then
                 begin
                   for j:=low(alignarray_cmovcpus) to high(alignarray_cmovcpus) do
@@ -682,6 +683,7 @@ implementation
                   dec(localsize,length(alignarray_cmovcpus[j]));
                 end
               else
+{$endif not i8086}
                 begin
                   for j:=low(alignarray) to high(alignarray) do
                    if (localsize>=length(alignarray[j])) then