]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Minor debug printing fix for DEBUG_REGALLOC.
authorIvo Raisr <ivosh@ivosh.net>
Wed, 27 Sep 2017 20:16:58 +0000 (22:16 +0200)
committerIvo Raisr <ivosh@ivosh.net>
Wed, 27 Sep 2017 20:16:58 +0000 (22:16 +0200)
No functional change.

VEX/priv/host_generic_reg_alloc3.c

index 528273b9ea0617813b9db5c3705bdaf7bd3d39e8..f910507f7e0b4f6fa47bf314fc297db50a521c9e 100644 (file)
@@ -53,7 +53,7 @@
 
    Consider the following HInstrSB structure:
       insn1
-      if (!cond) then fall-through {
+      goto OOL on cc "z", otherwise fall-through {
          insn2
          insn3
       } else out-of-line {
@@ -272,9 +272,9 @@ static void print_depth(UInt depth)
             process_legs_fork;                                         \
             if (DEBUG_REGALLOC) {                                      \
                print_depth(depth);                                     \
-               vex_printf("if (!");                                    \
+               vex_printf("goto OOL on cc \"");                        \
                con->ppCondCode(chunk->IfThenElse.ccOOL);               \
-               vex_printf(") then fall-through {\n");                  \
+               vex_printf("\", otherwise fall-through {\n");           \
             }                                                          \
             process_fall_through_leg;                                  \
             if (DEBUG_REGALLOC) {                                      \