浏览代码

- removed unused local variables from twasmaddnode.second_generic_compare

git-svn-id: trunk@49435 -
nickysn 4 年之前
父节点
当前提交
08f9a68798
共有 1 个文件被更改,包括 1 次插入5 次删除
  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);
       var
-        truelabel,
-        falselabel: tasmlabel;
         cmpop: TOpCmp;
       begin
-        truelabel:=nil;
-        falselabel:=nil;
         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 }
         if (left.location.loc in [LOC_REGISTER,LOC_CREGISTER]) and
            (right.location.loc in [LOC_REGISTER,LOC_CREGISTER]) then