Skip to content

Trust: skip static RewriteVars::add in RuntimeIndirect (#23468) - #23647

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-23468-gen0-argv-refresh
Jul 27, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/issue-23468-gen0-argv-refresh

Conversation

@PurHur

@PurHur PurHur commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Summary

Not closed yet: top-level AOT of HashTable::add still hits a pre-existing LLVM "Terminator in the middle of a basic block" on master (repro: tiny new HashTable(); $ht->add(...)). NestedJIT HashTableWriteNested path is fine; argv bin/compile.php rebuild still needs that lowering fixed after this lands.

Test plan

  • vendor/bin/phpunit --filter 'VmZlibLiteralDefaultsTest|VmPregMatchesAotHashTableAddTest' (host + Docker) → OK
  • Relaunch BOOTSTRAP_GEN0_REFRESH_ARGV_DRIVER=1 ./script/bootstrap-gen0-refresh-exclusive-docker.sh on this tip after merge
  • ./script/bootstrap-gen0-driver-functional-smoke.sh green → flip BOOTSTRAP_GEN0_DRIVER_FUNCTIONAL_GATE default-on

Closes nothing yet — Refs #23468.

Made with Cursor

Prevent HashTable->$add from dispatching to OutputRewriteVarsJitHelper::add
during gen-0 argv AOT. Guard VmZlib literal encoding defaults (#23646).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur force-pushed the agent/issue-23468-gen0-argv-refresh branch from cb02fdd to 7f50567 Compare July 27, 2026 01:02
@PurHur PurHur changed the title Trust: VmZlib literal defaults + skip RewriteVars::add in RuntimeIndirect (#23468) Trust: skip static RewriteVars::add in RuntimeIndirect (#23468) Jul 27, 2026
@PurHur
PurHur merged commit 3f0c04a into master Jul 27, 2026
@PurHur
PurHur deleted the agent/issue-23468-gen0-argv-refresh branch July 27, 2026 01:03
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