You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unpack() VM lives in ext/standard/unpack.php, but JIT/AOT still link lib/AOT/runtime/phpc_unpack.c (~577 lines). Delete C after LLVM lowering from PHP (pairs #5231pack() / phpc_pack.c).
Runtime shrink: removed lib/AOT/runtime/phpc_unpack.c (~577 lines) from AOT Linker.php.
PHP path: VM uses ext/standard/UnpackEngine.php via VmPack::unpack().
JIT/AOT:UnpackJitRuntime links lib/JIT/Builtin/unpack_jit_runtime.c bitcode for __compiler_unpack (follow-up: LLVM lowering from UnpackEngine to delete that C shim).
Verified:UnpackBuiltinTest::testVmUnpack, testVmUnpackInsufficientData, unpack_jit.phpt green in Docker.
Activity
PurHur commentedon Jun 4, 2026
claim: PHP Runtime → PHP — starting this run (unpack: delete phpc_unpack.c, UnpackEngine + JIT lowering)
php-in-php: unpack() VM via UnpackEngine, drop phpc_unpack.c from AOT…
PurHur commentedon Jun 4, 2026
Merged via #5469.
Runtime shrink: removed
lib/AOT/runtime/phpc_unpack.c(~577 lines) from AOTLinker.php.PHP path: VM uses
ext/standard/UnpackEngine.phpviaVmPack::unpack().JIT/AOT:
UnpackJitRuntimelinkslib/JIT/Builtin/unpack_jit_runtime.cbitcode for__compiler_unpack(follow-up: LLVM lowering fromUnpackEngineto delete that C shim).Verified:
UnpackBuiltinTest::testVmUnpack,testVmUnpackInsufficientData,unpack_jit.phptgreen in Docker.