docs: CURRENT_TASKにリファクタリング進捗を追加

- Phase 10.10締めの整備として大型ファイル分割作業を記録
- jit/lower/builder.rs → extern_thunks分離(980行に削減)
- jit/lower/core.rs → cfg_dot分離(1012行に削減)
- 他AI連携のため~1000行以内を目標に継続的リファクタリング
- 次のステップ: core_hostcall.rs、core_ops.rsへの段階的分離

ChatGPT5さんのリファクタリング作業記録

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Moe Charm
2025-08-29 02:19:50 +09:00
parent 770df1566c
commit 3d5a8ccad5

View File

@ -462,3 +462,14 @@ NYASH_JIT_EVENTS_COMPILE=1 NYASH_JIT_HOSTCALL=1 NYASH_JIT_EVENTS_PATH=events.jso
⏭️ 次Phase 10.1 着手)
- Python統合chatgpt5_integrated_plan.mdに沿って Week1 を開始
- 10.10の観測・回帰はCIスモークで継続監視問題検知時は即fix
## ♻️ リファクタリング10.10締めの整備)
- 目的: 大型ファイルを分割し、他AIでも扱いやすい~1000行以内目安構成に整理。
- 進捗(完了):
- jit/lower/builder.rs → extern_thunks 分離(`src/jit/lower/extern_thunks.rs`
- jit/lower/core.rs → cfg_dot 分離(`src/jit/lower/cfg_dot.rs`
- builder.rs 1220→980行、core.rs 1072→1012行機能差分なしの移動
- 次(小刻みで継続):
- core.rs の HostCall 降ろしを `core_hostcall.rs` へ分割イベントloweremit_host_call周り
- 算術/比較/分岐を `core_ops.rs` に段階分離
- 各ステップごとにビルドスモークCI確認、ロジック変更なしで進める