Browse Source

* i8086: Local variables unused in "second_AndOrXorShiftRot_assign" on i8086 are now not defined on this platform

J. Gareth "Curious Kit" Moreton 1 year ago
parent
commit
ee1916e919
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/x86/nx86inl.pas

+ 2 - 0
compiler/x86/nx86inl.pas

@@ -636,10 +636,12 @@ implementation
 
 
 
 
      procedure tx86inlinenode.second_AndOrXorShiftRot_assign;
      procedure tx86inlinenode.second_AndOrXorShiftRot_assign;
+{$ifndef i8086}
        var
        var
          opsize : tcgsize;
          opsize : tcgsize;
          valuenode, indexnode, loadnode: TNode;
          valuenode, indexnode, loadnode: TNode;
          DestReg: TRegister;
          DestReg: TRegister;
+{$endif i8086}
        begin
        begin
 {$ifndef i8086}
 {$ifndef i8086}
          if (cs_opt_level2 in current_settings.optimizerswitches) then
          if (cs_opt_level2 in current_settings.optimizerswitches) then