feat: PC/帧寻址改三维 [d]/[i,j],if/while 摊成函数内 goto/br,调用帧扁平编号(#116) - #222
Merged
Merged
Conversation
carsontung666
force-pushed
the
feat/flat-goto
branch
2 times, most recently
from
September 4, 2026 15:53
b889969 to
d0b235f
Compare
…FrameRoot 字符串变量传两层调用变 None:hop 循环把 char 值当路径追,改成只追 ref==1。加 02-func/string_passthrough。 goto/br 目标不是 int64、帧没 ‥returnpc、走到空槽,原来 abort,改成置 vthread error。 FuncFrameRoot 在 [d] 帧下就是 strdup,删;layout 的 frame_at/frame_num/irseq_pc 只有测试用,删。
carsontung666
force-pushed
the
feat/flat-goto
branch
from
September 4, 2026 16:00
d0b235f to
ba5aaab
Compare
Contributor
|
感谢 @carsontung666 的实现与 @AmuroEita 的工作 🙏 —— #116 的 flat [d] 帧寻址 + 函数内 goto/br 已合并,PC 长度与调用深度解耦。CI 全绿。后续若愿继续参与(性能回归、vthread 适配等)欢迎随时提 PR。 |
This was referenced Sep 4, 2026
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#116
if/while/for 不再建 scope 帧:layout 摊成一条平坦指令序列,label 折成 int64 行号,goto/br 只改 PC 的
[irseq]。调用帧改
/vthread/<vtid>/[d]/[i,j],d 是调用深度,PC 长度和深度无关。