Skip to content

php-in-php: drop UserScriptAotDeferNestedJit from JitStatPathKernel (#20086) - #20088

Merged
PurHur merged 1 commit into
masterfrom
agent/runtime-php-20086-statpath-thin
Jul 17, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/runtime-php-20086-statpath-thin

Conversation

@PurHur

@PurHur PurHur commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #20086

C / defer shrink

  • Deleted use UserScriptAotDeferNestedJit + shouldDefer() call from ext/standard/JitStatPathKernel.php (net −1 import, gate → isThinStandaloneAotMain).

php-src reference

  • ext/standard/filestat.c — php_stat / file_exists / is_file / …

Verification

./script/docker-exec.sh -- bash -lc 'source script/php-env.sh
vendor/bin/phpunit test/unit/StatPathRuntimeShrinkTest.php
# OK (6 tests, 48 assertions)

PHP_COMPILER_AOT_USER_SCRIPT=1 ./phpc build -o /tmp/statpath_aot_smoke … && /tmp/statpath_aot_smoke
# exists1 / file1 / dir1 / r1

make bootstrap-selfhost-vm-driver-execute-probe
# OK /compiler/build/selfhost-lib-spine-smoke
'

Pillar 1 (pre-claim): bootstrap-selfhost-link OK, inventory OK 5441/5441, helloworld OK, release-readiness --json → user_release_ready: yes.

Note: AotTest::stream_supports_lock fails on master too (unrelated; compile exit 255).

Made with Cursor

…20086)

Route thin standalone AOT path predicates through isThinStandaloneAotMain +
JitStatKernel libc (same shape as #20028 rename / #20034 nextafter); embed
keeps StatPathJitHelper NestedJIT.

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.

php-in-php: drop UserScriptAotDeferNestedJit from JitStatPathKernel — thin libc via isThinStandaloneAotMain (#1492)

1 participant