]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix various compilation warnings, all insignificant.
authorJulian Seward <jseward@acm.org>
Thu, 14 Oct 2004 21:48:59 +0000 (21:48 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 14 Oct 2004 21:48:59 +0000 (21:48 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@344

VEX/priv/guest-x86/toIR.c
VEX/priv/host-x86/isel.c

index b6291193fe0c357a81c9269bf959a5912a10cab7..f237cacedd5a537b1cb4459689b13687883974ba 100644 (file)
@@ -4081,10 +4081,6 @@ UInt dis_FPU ( Bool* decode_ok, UChar sorb, UInt delta )
    else
    vpanic("dis_FPU(x86): invalid primary opcode");
 
-  decode_success:
-   *decode_ok = True;
-   return delta;
-
   decode_fail:
    *decode_ok = False;
    return delta;
index 306a9584fcb28a2a567a81d1d14f05dfc7be31da..a779a90cf2851224f3f5fc664f2f4f4d4bd39833 100644 (file)
@@ -112,16 +112,22 @@ static IRExpr* unop ( IROp op, IRExpr* a )
    return IRExpr_Unop(op, a);
 }
 
+#if 0
+/* Apparently unused. */
 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 )
 {
    return IRExpr_Binop(op, a1, a2);
 }
+#endif
 
+#if 0
+/* Apparently unused. */
 static IRExpr* mkU8 ( UInt i )
 {
    vassert(i < 256);
    return IRExpr_Const(IRConst_U8(i));
 }
+#endif
 
 static IRExpr* bind ( Int binder )
 {
@@ -1684,7 +1690,7 @@ static HReg iselFltExpr ( ISelEnv* env, IRExpr* e )
 
 static HReg iselDblExpr ( ISelEnv* env, IRExpr* e )
 {
-   MatchInfo mi;
+   /* MatchInfo mi; */
    IRType ty = typeOfIRExpr(env->type_env,e);
    vassert(e);
    vassert(ty == Ity_F64);