qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [5685] Disable debug code for production.


From: Paul Brook
Subject: Re: [Qemu-devel] [5685] Disable debug code for production.
Date: Wed, 12 Nov 2008 12:50:56 +0000
User-agent: KMail/1.9.9

>  /* allow to see translation results - the slowdown should be negligible,
> so we leave it */
> -#define DEBUG_DISAS 
> +//#define DEBUG_DISAS

Why? As the comment says this has almost no runtime overhead, so there's no 
real downside to leaving it enabled. After your change the code is 
inconsistent with the comment.
If we really want to disble this for production builds then IMHO it can be 
done by whoever spins the release.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]