Skip to content

M2: consolidated lib spine smoke expansion (#1056)#1454

Closed
PurHur wants to merge 4 commits into
masterfrom
m2/merge-fix
Closed

M2: consolidated lib spine smoke expansion (#1056)#1454
PurHur wants to merge 4 commits into
masterfrom
m2/merge-fix

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 24, 2026

Summary

Consolidates parallel M2 spine work from #1411, #1412, #1418, #1421 into one mergeable branch.

  • 216 units in compiler_lib_spine_smoke (was 157)
  • ext/standard JIT batch, JIT Builtin leaves, Web/Cli lib units, deep JIT helpers
  • JIT self-host stubs for new Web + deep units
  • AOT-safe source fixes (closures, Object_, HashTable, VarFetchHelper, ArrayBuiltinHelper)

Test plan

  • php bin/compile.php -l test/selfhost/compiler_lib_spine_smoke/main.php
  • phpunit --filter BootstrapSelfhostBundleTest
  • ./script/bootstrap-selfhost-lib-spine-smoke-link.sh (LLVM)

Made with Cursor

PurHur and others added 4 commits May 24, 2026 13:40
Extend compiler_lib_spine_smoke with seven Builtin units (CallArgv,
IniSet, StringFunctionExists, StringHttpBuildQuery, StringSerialize,
StringSuperglobalName, StringUrldecode) and drop an unparseable
hexNibbleValue docblock that blocked self-host type reconstruction.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 1258208)
Grow compiler_lib_spine_smoke by ten vm.php-path lib units plus is_numeric
for Params; fix PHPDoc and closure patterns for self-host AOT lint; extend
JIT lib-spine stubs for new Web/Cli hot paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 523e12f)
Add deep-wave JIT builtins and helpers to compiler_lib_spine_smoke with
targeted AOT stubs and small lowering fixes for self-host parse/compile.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 03d5ffd)
Add 25 ext/standard Jit* leaf modules to compiler_lib_spine_smoke and
sync bundle unit counts in BootstrapSelfhostBundleTest and docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 11fd1b7)
@PurHur
Copy link
Copy Markdown
Owner Author

PurHur commented May 24, 2026

Closing as superseded by parallel M2 merges already on master (#1452, #1455#1458, #1414, etc.).

Status when checked:

Follow-up: #1454’s few remaining gaps (is_numeric, JitHeader, JitPack, JitRandomBytes) are picked up in a fresh branch/PR instead of rebasing this consolidation.

@PurHur PurHur closed this May 24, 2026
PurHur added a commit that referenced this pull request May 24, 2026
M2: four remaining spine units after #1454 superseded (#1056)
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