Skip to content

Sync bootstrap link pending after #538/#545#548

Merged
PurHur merged 1 commit into
masterfrom
fix/bootstrap-link-pending-sync
May 22, 2026
Merged

Sync bootstrap link pending after #538/#545#548
PurHur merged 1 commit into
masterfrom
fix/bootstrap-link-pending-sync

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 22, 2026

Summary

  • Restore TYPE_THROW (abort + unreachable) and TYPE_CAST_STRING JIT lowering reverted when try/catch CFG landed in aa4940f.
  • Remove require_chain/main.php and throw_logic.php from $pendingUserFunc; keep try_catch.php pending (LLVM block terminator gap).
  • Regenerate docs/bootstrap-profile.json11 Phase C aot_link_targets.
  • Update docs/bootstrap-selfhost.md and README link-pending list.

Test plan

  • php script/bootstrap-profile.php --check
  • ./script/bootstrap-aot-link.sh (11 targets OK)
  • vendor/bin/phpunit test/unit/BootstrapProfileTest.php

Made with Cursor

Restore TYPE_THROW and TYPE_CAST_STRING JIT lowering lost when try/catch
CFG landed (aa4940f). Promote require_chain and throw_logic to
aot_link_targets; keep try_catch lint-only until unwind link works.

Regenerate bootstrap-profile.json (11 link targets) and refresh docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 6783449 into master May 22, 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