From: Julian Seward Date: Sun, 20 Jan 2013 11:38:43 +0000 (+0000) Subject: Remove a bit of dead code, spotted by Florian using Coverity. X-Git-Tag: svn/VALGRIND_3_9_0^2~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=565de09daf1205add1d2b8bac240779afb54abe1;p=thirdparty%2Fvalgrind.git Remove a bit of dead code, spotted by Florian using Coverity. git-svn-id: svn://svn.valgrind.org/vex/trunk@2646 --- diff --git a/VEX/priv/host_x86_isel.c b/VEX/priv/host_x86_isel.c index 7885c21109..8b4e55d88b 100644 --- a/VEX/priv/host_x86_isel.c +++ b/VEX/priv/host_x86_isel.c @@ -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; } }