Browse Source

- removed unused local variables from twasmaddnode.second_generic_compare

git-svn-id: trunk@49435 -
nickysn 4 years ago
parent
commit
08f9a68798
1 changed files with 1 additions and 5 deletions
  1. 1 5
      compiler/wasm32/nwasmadd.pas

+ 1 - 5
compiler/wasm32/nwasmadd.pas

@@ -334,14 +334,10 @@ interface
 
 
     procedure twasmaddnode.second_generic_compare(unsigned: boolean);
     procedure twasmaddnode.second_generic_compare(unsigned: boolean);
       var
       var
-        truelabel,
-        falselabel: tasmlabel;
         cmpop: TOpCmp;
         cmpop: TOpCmp;
       begin
       begin
-        truelabel:=nil;
-        falselabel:=nil;
         pass_left_right;
         pass_left_right;
-        { swap the operands to make it easier for the optimizer to optimize
+        { swap the operands to make it easier for the optimizer to optimize
           the operand stack slot reloading in case both are in a register }
           the operand stack slot reloading in case both are in a register }
         if (left.location.loc in [LOC_REGISTER,LOC_CREGISTER]) and
         if (left.location.loc in [LOC_REGISTER,LOC_CREGISTER]) and
            (right.location.loc in [LOC_REGISTER,LOC_CREGISTER]) then
            (right.location.loc in [LOC_REGISTER,LOC_CREGISTER]) then