mirror of https://github.com/xemu-project/xemu.git
tcg: Remove USE_TCG_OPTIMIZATIONS
This is always defined, and the optimization pass is essential to producing reasonable code. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
645e3a812a
commit
16ffa1ef87
|
@ -22,9 +22,6 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/* define it to use liveness analysis (better code) */
|
||||
#define USE_TCG_OPTIMIZATIONS
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
/* Define to jump the ELF file used to communicate with GDB. */
|
||||
|
@ -6028,9 +6025,7 @@ int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start)
|
|||
qatomic_set(&prof->opt_time, prof->opt_time - profile_getclock());
|
||||
#endif
|
||||
|
||||
#ifdef USE_TCG_OPTIMIZATIONS
|
||||
tcg_optimize(s);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PROFILER
|
||||
qatomic_set(&prof->opt_time, prof->opt_time + profile_getclock());
|
||||
|
|
Loading…
Reference in New Issue