From 8fd5ab731d97d9db2fc747bd957c0aa4bd2c9c1b Mon Sep 17 00:00:00 2001 From: Ivo Raisr Date: Wed, 27 Sep 2017 22:16:58 +0200 Subject: [PATCH] Minor debug printing fix for DEBUG_REGALLOC. No functional change. --- VEX/priv/host_generic_reg_alloc3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VEX/priv/host_generic_reg_alloc3.c b/VEX/priv/host_generic_reg_alloc3.c index 528273b9ea..f910507f7e 100644 --- a/VEX/priv/host_generic_reg_alloc3.c +++ b/VEX/priv/host_generic_reg_alloc3.c @@ -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) { \ -- 2.47.2