Skip to content

CFG Part 0 Slim Edition: ProcDecoder fixes#2635

Merged
wixoaGit merged 2 commits into
OpenDreamProject:masterfrom
ike709:cfg_zero_slim
Jun 25, 2026
Merged

CFG Part 0 Slim Edition: ProcDecoder fixes#2635
wixoaGit merged 2 commits into
OpenDreamProject:masterfrom
ike709:cfg_zero_slim

Conversation

@ike709

@ike709 ike709 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

It was revealed to me in a dream that I could avoid clogging up the CFG with internally-generated dead blocks by simply flagging and ignoring them instead of overcomplicating codegen and trying to make it perfect at the cost of simplicity and performance as seen in the previous PR. Dealing with those dead blocks will come when the CFG actually ships. The max stack changes will also be split off into their own separate PR without the other expensive peephole optimizer changes.

Instead, this PR is just some of the minimum amount of prerequisite changes necessary to get the CFG working, which is some fixes to ProcDecoder for missing/incorrect opcodes. It is still the precursor to CFG Part 1 and should be merged prior to that PR.

It would be nice if we could prevent these sorts of issues but I'll leave that for a future PR.

@boring-cyborg boring-cyborg Bot added the Runtime Involves the OpenDream server/runtime label Jun 22, 2026
@ike709 ike709 requested a review from wixoaGit June 22, 2026 15:45
@wixoaGit wixoaGit merged commit c654733 into OpenDreamProject:master Jun 25, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Runtime Involves the OpenDream server/runtime size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants