mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
TCG op size estimation fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4154 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
663715fbe2
commit
a208e54a2f
3 changed files with 10 additions and 0 deletions
|
@ -71,6 +71,7 @@ unsigned long code_gen_max_block_size(void)
|
|||
static unsigned long max;
|
||||
|
||||
if (max == 0) {
|
||||
max = TCG_MAX_OP_SIZE;
|
||||
#define DEF(s, n, copy_size) max = copy_size > max? copy_size : max;
|
||||
#include "tcg-opc.h"
|
||||
#undef DEF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue