Skip to content

Compiler: extract ByRefFormalAssignAndCallArgAdapt from JIT.php (#36387) - #36787

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-36387-byref-formal-assign-callarg
Sep 5, 2026
Merged

Compiler: extract ByRefFormalAssignAndCallArgAdapt from JIT.php (#36387)#36787
PurHur merged 1 commit into
masterfrom
agent/issue-36387-byref-formal-assign-callarg

Conversation

@PurHur

@PurHur PurHur commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

php-src: Zend/zend_execute.c ZEND_SEND_REF / ZEND_RECV / zend_assign_to_variable — move-only Concern extract; no new C ABI / IR shape change.

Closes nothing (Part of #36387).

Test plan

  • php -l lib/JIT.php + lib/JIT/Concern/ByRefFormalAssignAndCallArgAdapt.php
  • ./script/check-size-budgets.sh OK
  • php script/check-selfhost-spine-coverage-sync.php OK (8216)
  • php script/bootstrap-inventory.php --check OK 8216/8216
  • ./script/phpunit.sh --filter 'SpineChunkRuntimeMethodDemoteTest|BootstrapSelfhostBundleTest::testCompilerLibSpineSmokeBundleUsesRequireOnce' → 3/3
  • ./script/aot-smoke.sh → 9/9 + size gate OK
  • make north-star5-verify-fast → OK
  • php script/opcode-corpus-md5.php --check → OK (move-only)

Not run: --strict, full script/differential-sweep.sh --aot (move-only extract).

Made with Cursor

Move-only Concern split (bindJitParamByReference → ensureValueBoxLvalueForByRefPass) toward gen-0 split-TU / size-budget ratchet; SPINE_CHUNK demote + inventory sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
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