mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-20 18:50:21 +02:00
Rework to better describe what is used only during jit generation.
* include/lightning/jit_private.h, lib/jit_arm-cpu.c, lib/jit_arm.c, lib/jit_disasm.c, lib/jit_mips-cpu.c, lib/jit_mips.c, lib/jit_note.c, lib/jit_ppc-cpu.c, lib/jit_ppc.c, lib/jit_print.c, lib/jit_sparc-cpu.c, lib/jit_sparc.c, lib/jit_x86-cpu.c, lib/jit_x86.c, lib/lightning.c: Add an extra structure for data storage during jit generation, and release it after generating jit, to reduce a bit memory usage, and also to make it easier to understand what data is available during jit runtime.
This commit is contained in:
parent
f39eee6694
commit
9afca85921
16 changed files with 1328 additions and 1299 deletions
|
@ -227,7 +227,7 @@ _jit_print(jit_state_t *_jit)
|
|||
jit_int32_t offset;
|
||||
|
||||
first = 0;
|
||||
for (node = _jit->head; node; node = node->next) {
|
||||
for (node = _jitc->head; node; node = node->next) {
|
||||
if (!first)
|
||||
print_chr('\n');
|
||||
else
|
||||
|
@ -237,8 +237,8 @@ _jit_print(jit_state_t *_jit)
|
|||
print_chr('L');
|
||||
print_dec(node->v.w);
|
||||
print_chr(':');
|
||||
block = _jit->blocks.ptr + node->v.w;
|
||||
for (offset = 0; offset < _jit->reglen; offset++) {
|
||||
block = _jitc->blocks.ptr + node->v.w;
|
||||
for (offset = 0; offset < _jitc->reglen; offset++) {
|
||||
if (jit_regset_tstbit(block->reglive, offset)) {
|
||||
print_chr(' ');
|
||||
print_reg(offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue