fix(llvm): Phase 131-10 - Smart console.log routing(Segfault修正)

## 問題
- Integer値をi8*ポインタに変換 → Segfault(Exit 139)

## 解決策
- String literal → nyash.console.log(i8*)
- Integer/Handle → nyash.console.log_handle(i64)

## 結果
- Case B (loop_min_while): LLVM outputs `0,1,2` 
- VM/LLVM完全パリティ達成

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
nyash-codex
2025-12-14 09:19:00 +09:00
parent bfe047840b
commit 18bf35e6d4
8 changed files with 97 additions and 104 deletions

View File

@ -101,6 +101,8 @@ Phase 文書は歴史や検証ログも含むので、「JoinIR の現役設計
-`docs/development/current/main/phase131-2-summary.md`(要点)
- LLVMPython llvmlitelowering の不具合切り分けで迷っているとき
-`docs/development/current/main/phase131-3-llvm-lowering-inventory.md`(再現ケース表 + 根本原因候補)
-`docs/development/current/main/phase131-5-taglink-fix-summary.md`TAG-LINK: symbol 名の修正ログ)
-`docs/development/current/main/phase131-6-ssa-dominance-diagnosis.md`TAG-RUN の初期診断ログ・歴史)
-`docs/development/current/main/phase87-selfhost-llvm-exe-line.md`実行パイプラインのSSOT
- 「この Phase 文書は現役か?」で迷ったとき
- → まず `docs/development/current/main/10-Now.md`