]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove a bit of dead code, spotted by Florian using Coverity.
authorJulian Seward <jseward@acm.org>
Sun, 20 Jan 2013 11:38:43 +0000 (11:38 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 20 Jan 2013 11:38:43 +0000 (11:38 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2646

VEX/priv/host_x86_isel.c

index 7885c211098b2612d271cdeaa26b8028c1cb7c28..8b4e55d88b9d20fb852793cfb1d6ad051411f2dc 100644 (file)
@@ -3094,8 +3094,8 @@ static HReg iselDblExpr_wrk ( ISelEnv* env, IRExpr* e )
          HReg res = newVRegF(env);
          HReg src = iselDblExpr(env, e->Iex.Unop.arg);
          addInstr(env, X86Instr_FpUnary(fpop,src,res));
-        if (fpop != Xfp_NEG && fpop != Xfp_ABS)
-            roundToF64(env, res);
+         /* No need to do roundToF64(env,res) for Xfp_NEG or Xfp_ABS,
+            but might need to do that for other unary ops. */
          return res;
       }
    }