pytholite: prune unused registers
This commit is contained in:
parent
3fae6c8f03
commit
9c65402fda
|
@ -237,6 +237,7 @@ def make_pytholite(func, **ioresources):
|
||||||
|
|
||||||
regf = Fragment()
|
regf = Fragment()
|
||||||
for register in registers:
|
for register in registers:
|
||||||
|
if register.source_encoding:
|
||||||
register.finalize()
|
register.finalize()
|
||||||
regf += register.get_fragment()
|
regf += register.get_fragment()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue