Blocks
Self-host bundle AOT hits undefined external methods, e.g.:
Call to undefined method phpparser\nodetraverser::addvisitor
Bundled lib/Compiler.php uses vendor types at runtime; JIT must proxy or stub external ->method() calls used in the minimal closure.
Goal
Minimal fix: JIT TYPE_METHODCALL / static dispatch for external classes used in bundle (start with PhpParser NodeTraverser::addVisitor or defer via compile-time stubs).
Acceptance
Non-goals
- Compiling full vendor/nikic/php-parser
Blocks
Self-host bundle AOT hits undefined external methods, e.g.:
Call to undefined method phpparser\nodetraverser::addvisitorBundled
lib/Compiler.phpuses vendor types at runtime; JIT must proxy or stub external->method()calls used in the minimal closure.Goal
Minimal fix: JIT
TYPE_METHODCALL/ static dispatch for external classes used in bundle (start with PhpParser NodeTraverser::addVisitor or defer via compile-time stubs).Acceptance
./script/bootstrap-selfhost-link.sh(Self-host P0: JIT __value__ / hashtable paths for Block::scopeOperandBySlot #557)Non-goals