AOT/JIT: StringBox.length デバッグ追跡とローカル材化強化
- ops_ext: StringBox.len/lengthの結果を必ずローカルに保存 - param/local/literal/handle.of全経路で dst があれば local_index に格納 - Returnが確実に値を拾えるよう修正 - デバッグ計測追加: - NYASH_JIT_TRACE_LOWER: BoxCall処理の追跡 - NYASH_JIT_TRACE_RET: Return時の値解決追跡 - NYASH_JIT_TRACE_LOCAL: ローカルslot I/O追跡 - NYASH_JIT_TRACE_LEN: string.len_h thunk実行追跡 - 診断用プローブ追加: tmp_len_stringbox_probe.nyash - CURRENT_TASK更新: 3rdハンドオフ進捗記録 現状: lowering/Return/ローカル材化は正しく配線されているが、 hostcall実行時に0を返している疑い。シンボル解決の追跡継続中。 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
apps/tmp_len_stringbox_probe.nyash
Normal file
12
apps/tmp_len_stringbox_probe.nyash
Normal file
@ -0,0 +1,12 @@
|
||||
// Probe: StringBox.length() value path under JIT-direct
|
||||
static box Main {
|
||||
main() {
|
||||
local s
|
||||
s = new StringBox("abc")
|
||||
local n
|
||||
n = s.length()
|
||||
print("len=" + n.toString())
|
||||
return n
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user