1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-11 16:20:19 +02:00

Add a second pass to compute live register ranges

* include/lightning/jit_private.h, lib/lightning.c: Add a
	second pass from start when computing register live ranges.
	This should be used temporarily, and is required for certain
	loop constructs, with several consecutive blocks not referencing
	a live register.
This commit is contained in:
pcpa 2017-05-09 13:27:37 -04:00
parent aa939b8ef8
commit d761499315
3 changed files with 25 additions and 1 deletions

View file

@ -379,6 +379,7 @@ struct jit_block {
jit_node_t *label;
jit_regset_t reglive;
jit_regset_t regmask;
jit_regset_t setmask; /* Used for forward second pass */
};
struct jit_value {