Patchwork TCG: Fix compile breakage in tcg_dump_ops

login
register
mail settings
Submitter Alexander Graf
Date June 23, 2012, 10:05 p.m.
Message ID <1340489136-18345-1-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/166784/
State New
Headers show

Comments

Alexander Graf - June 23, 2012, 10:05 p.m.
Commit eeacee4d865 changed the syntax of tcg_dump_ops, but didn't convert
all users (notably missing the ppc ones) to it. Fix them to the new syntax.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 tcg/ppc/tcg-target.c   |    2 +-
 tcg/ppc64/tcg-target.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
malc - June 23, 2012, 10:54 p.m.
On Sun, 24 Jun 2012, Alexander Graf wrote:

> Commit eeacee4d865 changed the syntax of tcg_dump_ops, but didn't convert
> all users (notably missing the ppc ones) to it. Fix them to the new syntax.

Applied.

[..snip..]

Patch

diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index d265697..0cff181 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -1865,7 +1865,7 @@  static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args,
         break;
 
     default:
-        tcg_dump_ops (s, stderr);
+        tcg_dump_ops (s);
         tcg_abort ();
     }
 }
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index c800574..27a0ae8 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -1613,7 +1613,7 @@  static void tcg_out_op (TCGContext *s, TCGOpcode opc, const TCGArg *args,
         break;
 
     default:
-        tcg_dump_ops (s, stderr);
+        tcg_dump_ops (s);
         tcg_abort ();
     }
 }