🗑️ remove(tsl): drop duplicate codegen docs

This commit is contained in:
csh
2026-07-08 11:21:28 +08:00
parent 38ccc67238
commit d0a41380d0
252 changed files with 12 additions and 182790 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
- `debugRunEnv(0)``debugRunEnv(1)` 可直接调用;它们面向调试客户端的副作用,不作为本页输出事实。
- `debugRunEnvDo Func(...)` 可直接写,并且会返回被调用函数的结果。
- `mtic` 会生成一个计时起点;`mtoc``mtoc(tick)` 都会返回秒数。
- `setProfiler(...)``getProfilerInfo(...)` 的参数规格见 [../codegen/builtin/system/runtime.md](../codegen/builtin/system/runtime.md);本页只保留性能分析器行为示例。
- `setProfiler(...)``getProfilerInfo(...)` 的参数规格使用 `tsl-api-reference` skill 按名查询;本页只保留性能分析器行为示例。
- `setProfiler(7)` 配合 `getProfilerInfo(1)`,可以在不弹窗的情况下拿到性能分析器信息。
- `__line__` 会返回所在代码行号。
- `__stack_frame` 会返回调用栈帧数组;最小 `toStn(...)` 观察结果里,每一项是 `(line, "function")` 这一类二元组。