Repository navigation
Conversation
This was referenced Oct 30, 2026
luiox
force-pushed
the
feat/shadow-descriptor-slot
branch
from
October 30, 2026 01:54
8d0f72a to
4d7dcc6
Compare
Owner
Author
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.
内容
resolveShadowJasmBody:指令操作数(助记符后引用型操作数)的单一收口分支,resolveShadowSlot按ShadowSlotPosition::JasmBody分派。)结尾取最后一个(组之前为引用部、括号内为方法描述符;否则最后一个空格之后为字段描述符;无空格 = 纯类操作数。parseShadowRef直达(ClassRef → 类内部名;MemberRef →rawOwner.rawName复合;EscapedLiteral 保留字面);Malformed 且带${前缀 → 按首个}拆 owner handle +.name复合,表查询错误(unknown-handle / missing-sidecar)原样直传,不被复合语境吞成 malformed-handle;其余 Raw 零漂移直通(显示文本的 shadow 复合名不含${形状)。测试
JasmBody 槽 9 组 + 既有 28 组全绿;全仓 1893 通过(3 posix-skip)。覆盖:Raw 零漂移、类/成员/复合/嵌套 handle 展开、异 owner 冲突、缺 sidecar 硬报错、unknown-handle 直传、文法垃圾 fail-loud。
依赖:Descriptor 槽(#109,已并入)。