Revision a884da8a exec.c
b/exec.c | ||
---|---|---|
555 | 555 |
#endif |
556 | 556 |
#endif /* !USE_STATIC_CODE_GEN_BUFFER */ |
557 | 557 |
map_exec(code_gen_prologue, sizeof(code_gen_prologue)); |
558 |
code_gen_buffer_max_size = code_gen_buffer_size -
|
|
559 |
(TCG_MAX_OP_SIZE * OPC_MAX_SIZE);
|
|
558 |
code_gen_buffer_max_size = code_gen_buffer_size - |
|
559 |
(TCG_MAX_OP_SIZE * OPC_BUF_SIZE);
|
|
560 | 560 |
code_gen_max_blocks = code_gen_buffer_size / CODE_GEN_AVG_BLOCK_SIZE; |
561 | 561 |
tbs = qemu_malloc(code_gen_max_blocks * sizeof(TranslationBlock)); |
562 | 562 |
} |
Also available in: Unified diff