Skip to content

php-in-php: FtokRuntime NestedJIT → JitVmHelperLink::ensureCompiled (#22300) - #22301

Merged
PurHur merged 2 commits into
masterfrom
agent/runtime-php-ftok-jitvmhelperlink
Jul 22, 2026
Merged

PurHur merged 2 commits into
masterfrom
agent/runtime-php-ftok-jitvmhelperlink

Conversation

@PurHur

@PurHur PurHur commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #22300

NestedJIT / C shrink

  • lib/JIT/Builtin/FtokRuntime.php: 185 → 158 lines (−27) — helper compile now shared JitVmHelperLink
  • No new C; compile-path only (php-src ftok semantics unchanged)

Test plan

  • vendor/bin/phpunit test/unit/FtokRuntimeShrinkTest.php — OK (5 tests, 19 assertions)
  • vendor/bin/phpunit --filter ftok — OK (10 tests)
  • make bootstrap-selfhost-vm-driver-execute-probe — OK
  • make north-star5-verify-fast — OK (fast)
  • php script/bootstrap-inventory.php --check — OK 6412/6412
  • php script/check-bootstrap-gen0-manifest-sync.php — OK
  • Pre-claim: make bootstrap-selfhost-link OK; release-readiness --json → user_release_ready: yes; helloworld emit_path=native

Verification transcript (Docker)

FtokRuntimeShrinkTest: OK (5 tests, 19 assertions)
--filter ftok: OK (10 tests, 27 assertions)
bootstrap-selfhost-vm-driver-execute-probe: OK
north-star5-verify: OK (fast)
bootstrap-inventory --check: OK 6412/6412

Refs #1492, #9585, #22256, #22276

Made with Cursor

PurHur and others added 2 commits July 22, 2026 18:43
…22300)

Route FtokJitHelper compile through the shared helper-link path (env clear,
insert restore, helper-runtime cache); restamp gen-0 lowering fingerprint for Trust.

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

FtokRuntime inventory warnings 3→1 (hand-rolled NestedJIT gone).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 27d1551 into master Jul 22, 2026
1 check failed
@PurHur
PurHur deleted the agent/runtime-php-ftok-jitvmhelperlink branch July 22, 2026 18:44
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.

php-in-php: FtokRuntime NestedJIT → JitVmHelperLink::ensureCompiled (#1492)

1 participant