Re: [Qemu-devel] [PATCH 2/2] tcg: add TB sanity checking

2012-09-22 Thread Aurelien Jarno
On Fri, Sep 21, 2012 at 04:18:08AM +0400, Max Filippov wrote: > Do a sanity checking pass on the intermediate code. > Check that goto_tb indices are either 0 or 1 and used at most once per > TB. > > Signed-off-by: Max Filippov > --- > tcg/tcg.c | 69 > +

Re: [Qemu-devel] [PATCH 2/2] tcg: add TB sanity checking

2012-09-21 Thread Michael Tokarev
On 21.09.2012 04:18, Max Filippov wrote: > diff --git a/tcg/tcg.c b/tcg/tcg.c > +#ifdef CONFIG_DEBUG_TCG > +static void tcg_sanity_check(TCGContext *s) #ifndef CONFIG_DEBUG_TCG #define tcg_sanity_check(s) /*empty*/ #else static void tcg_sanity_check(TCGContext *s) > +{ [] > +} > +#endif > @@ -

[Qemu-devel] [PATCH 2/2] tcg: add TB sanity checking

2012-09-20 Thread Max Filippov
Do a sanity checking pass on the intermediate code. Check that goto_tb indices are either 0 or 1 and used at most once per TB. Signed-off-by: Max Filippov --- tcg/tcg.c | 69 + 1 files changed, 69 insertions(+), 0 deletions(-) diff -