match(d_nhttp_private): NHTTPDeleteConnection #606

Merged
coah80 merged 1 commits from matcher/NHTTPDeleteConnection into main 2026-10-01 23:04:32 +00:00
coah80 commented 2026-10-01 22:54:00 +00:00 (Migrated from github.com)

Summary

Match NHTTPDeleteConnection in d_nhttp_private by rewriting ConnectionStarted's null check from a ternary to an if/else so the inlined WaitConnection path gets the target beq/bne block order (-1 when null first).

Progress

funcs code bytes
Before 6/7 908/1320
After 7/7 1320/1320

DOL sha1: 26116613f624061ba99c8d1a299aaa6efa85670d (unchanged)

Test plan

  • Unit object exact (7/7)
  • Linked main.dol sha1 matches config/43U/build.sha1
## Summary Match `NHTTPDeleteConnection` in `d_nhttp_private` by rewriting `ConnectionStarted`'s null check from a ternary to an if/else so the inlined `WaitConnection` path gets the target beq/bne block order (`-1` when null first). ## Progress | | funcs | code bytes | |---|---|---| | Before | 6/7 | 908/1320 | | After | **7/7** | **1320/1320** | **DOL sha1:** `26116613f624061ba99c8d1a299aaa6efa85670d` (unchanged) ## Test plan - [x] Unit object exact (7/7) - [x] Linked `main.dol` sha1 matches `config/43U/build.sha1`
coah80 commented 2026-10-01 23:04:30 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.