]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
ppIRStoreG: print braces around guarded section, so as to be more
authorJulian Seward <jseward@acm.org>
Wed, 28 Jan 2015 12:03:26 +0000 (12:03 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 28 Jan 2015 12:03:26 +0000 (12:03 +0000)
consistent with other guarded-IR printing.  No functional change.

git-svn-id: svn://svn.valgrind.org/vex/trunk@3079

VEX/priv/ir_defs.c

index 5b2b75022bdec861711aa99b708ecc391db5b89e..64e487d1b30b117799c924be75594632e722573d 100644 (file)
@@ -1446,10 +1446,11 @@ void ppIRStoreG ( const IRStoreG* sg )
 {
    vex_printf("if (");
    ppIRExpr(sg->guard);
-   vex_printf(") ST%s(", sg->end==Iend_LE ? "le" : "be");
+   vex_printf(") ST%s(", sg->end==Iend_LE ? "le" : "be");
    ppIRExpr(sg->addr);
    vex_printf(") = ");
    ppIRExpr(sg->data);
+   vex_printf(" }");
 }
 
 void ppIRLoadGOp ( IRLoadGOp cvt )