Skip to content

Split-TU: extract LocalReleaseUnsetAndVarFetchDest from JIT.php (#36387) - #36793

Closed
PurHur wants to merge 2 commits into
masterfrom
agent/issue-36387-local-release-unset-varfetchdest
Closed

Split-TU: extract LocalReleaseUnsetAndVarFetchDest from JIT.php (#36387)#36793
PurHur wants to merge 2 commits into
masterfrom
agent/issue-36387-local-release-unset-varfetchdest

Conversation

@PurHur

@PurHur PurHur commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

php-src reference: end-of-scope CV release / unset in Zend/zend_execute.c and Zend/zend_vm_def.h (ZEND_UNSET_CV) — move-only Concern extract; no new C ABI and no opcode/IR shape change.

Test plan

  • php -l on lib/JIT.php + Concern
  • spine-count / sidecar stamp / size-budgets OK (8218/8218)
  • ./script/phpunit.sh --filter SpineChunkRuntimeMethodDemoteTest
  • make north-star5-verify-fast
  • ./script/aot-smoke.sh → 9/9
  • ./script/check-generated-docs.sh

Part of #36387.

Made with Cursor

PurHur and others added 2 commits September 5, 2026 04:44
Move local-release / unset nulling and VAR_FETCH dest-use analysis (~1036 lines)
into a Concern trait so JIT.php ratchets toward split-TU iterability under the
size-budget gate (Part of #36387).

Co-authored-by: Cursor <cursoragent@cursor.com>
…#36387)

Refresh inventory/docs/sidecar stamp and size-budget ratchet after rebase
onto ResolveJitOutgoingCall / ByRefFormal peers.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur

PurHur commented Sep 5, 2026

Copy link
Copy Markdown
Owner Author

Superseded: same extract already merged via #36792 (b51652d). Closing as duplicate.

@PurHur PurHur closed this Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant