Skip to content

Split-TU: extract CallResultOperandAssign from JIT.php (#36387) - #36786

Merged
PurHur merged 3 commits into
masterfrom
fix/36387-call-result-operand-assign-concern
Sep 5, 2026
Merged

Split-TU: extract CallResultOperandAssign from JIT.php (#36387)#36786
PurHur merged 3 commits into
masterfrom
fix/36387-call-result-operand-assign-concern

Conversation

@PurHur

@PurHur PurHur commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

php-src: call return zval handling in Zend/zend_execute_API.c / Zend/zend_vm_def.h (RETURN / DO_UCALL result) — move-only Concern extract; no new C ABI / IR shape change.

Test plan

  • php -l lib/JIT.php + lib/JIT/Concern/CallResultOperandAssign.php
  • ./script/phpunit.sh --filter 'SpineChunkRuntimeMethodDemoteTest|BootstrapSelfhostBundleTest::testCompilerLibSpineSmokeBundleUnitCountAndKeyUnits'4/4
  • ./script/aot-smoke.sh9/9 + size gate OK
  • ./script/check-generated-docs.sh → OK
  • make north-star5-verify-fast — re-run after final docs sync (earlier tip green; inventory/docs now in sync)
  • script/differential-sweep.sh --aot --repeat 3 — not re-run (behavior-preserving Concern move)

Part of #36387

Made with Cursor

PurHur and others added 3 commits September 5, 2026 03:52
Move call-result CFG object materialization and operand assign
(callResultCfgWantsObject → assignCallResultOperand) into a Concern
trait so JIT.php ratchets toward split-TU iterability.

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

Refresh inventory profile, status snapshot, and BootstrapSelfhostBundleTest
expect after adding lib/JIT/Concern/CallResultOperandAssign.php to the spine.

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

Include master differential cases in the opcode corpus baseline, ratchet
script/ file-count budget to 278, and sync status snapshot footnotes.

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