Blocks
Native self-host compile segfaults in LLVM (LLVMBuildStructGEP) while JIT-lowering Block::findSlot and related CFG using:
scopeOperandBySlot (array)
?Variable returns boxed as __value__
- isset / property fetch on array-backed scope slots
Goal
Unify JIT typing: array params → __hashtable__*, property loads via value-box slots, HashTableHelper + IssetHelper use alloca pointers not loaded struct values.
Acceptance
php bin/compile.php -o build/selfhost test/selfhost/compiler_minimal/main.php exits 0 in Docker
./build/selfhost prints selfhost
./script/bootstrap-selfhost-link.sh OK
- README self-host section updated to Achieved (minimal subset) with date + PR
Links
Blocks
Native self-host compile segfaults in LLVM (
LLVMBuildStructGEP) while JIT-loweringBlock::findSlotand related CFG using:scopeOperandBySlot(array)?Variablereturns boxed as__value__Goal
Unify JIT typing:
arrayparams →__hashtable__*, property loads via value-box slots,HashTableHelper+IssetHelperuse alloca pointers not loaded struct values.Acceptance
php bin/compile.php -o build/selfhost test/selfhost/compiler_minimal/main.phpexits 0 in Docker./build/selfhostprintsselfhost./script/bootstrap-selfhost-link.shOKLinks
issue-selfhost-compiler-native