diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-06-09 07:47:47 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-06-09 07:47:47 -0700 |
commit | 8187f1a3a27671d4d5b705901fa3fe30ed03cc5f (patch) | |
tree | 0ff9220fd939d35065560f0df0684ff3475fdd5e /stdlib/socket.tl | |
parent | faeae21c4621849e3c7e7393e504e36b54928555 (diff) | |
download | txr-8187f1a3a27671d4d5b705901fa3fe30ed03cc5f.tar.gz txr-8187f1a3a27671d4d5b705901fa3fe30ed03cc5f.tar.bz2 txr-8187f1a3a27671d4d5b705901fa3fe30ed03cc5f.zip |
optimizer: remove root slot from basic-block.
The root slot is just supposed to be (car bl.list): the
first basic block. Unfortunately, it's not maintained
when bl.list is edited, which could cause bugs.
This change makes no difference in the stdlib compiled files,
other than of course the changes in optimize.tlo from this
code change itself; so that is evidence suggesting
this change is least not making anything worse.
* stdlib/optimize.tl (basic-blocks): Remove root slot.
(basic-blocks (link-graph, calc-liveness, elim-dead-code):
Refer to (car bl.list) instead of bl.root.
Diffstat (limited to 'stdlib/socket.tl')
0 files changed, 0 insertions, 0 deletions