Repository navigation
refactor(reference,asm): reflection_interpreter 归位 asm/analyzer,asm⇄reference 模块环断除 - #106
Merged
Merged
Conversation
…eference 模块环断除 #101 补记:彼时申报「终态零环」与事实不符——asm⇒reference (member_remapper 反射改写面)与 reference⇒asm 并存即环。本件按 #101 同款归位术收口:reflection_interpreter 本就是体级分析件(只吃 analysis/cp_refs + asm/analyzer 的别名/帧面),整迁 asm/analyzer/ (ns mjbase::reference → mjbase::asm_analyzer)。 - member_remapper:include 转模块内,相对限定 reference:: → asm_analyzer:: - reference_index / reflection_binding_analyzer:include 转指 + using-decl 对齐既有 aliasInterned 惯用法 - 终态:asm⇏reference,唯一方向 reference⇒asm,全仓 18 模块零环 套件 1919 用例 1916 绿 + 3 既有 POSIX 跳过(基线逐位一致)。
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.
背景
#101 补记:彼时申报「终态零环」与事实不符——asm⇒reference(member_remapper 反射改写面消费)与 reference⇒asm(调用图/别名/帧面五处)并存即模块环。本件按 #101 同款归位术收口。
判定
reflection_interpreter 本就是体级分析件:mjbase 依赖只有 analysis/cp_refs + asm/analyzer 的别名/帧面,对 reference 兄弟模块零依赖——住错楼,与 alias_analysis(#101 ②)同批归位。
内容
reference/reflection_interpreter.{hpp,cpp}整迁asm/analyzer/,nsmjbase::reference→mjbase::asm_analyzermember_remapper:include 转模块内,相对限定reference::→asm_analyzer::reference_index/reflection_binding_analyzer:include 转指 + using-decl 对齐既有aliasInterned惯用法终态
asm⇏reference,唯一方向 reference⇒asm——全仓 18 模块零环,申报口径与事实一致。
验证
delete-then-rebuild 全量:1919 用例 1916 绿 + 3 既有 POSIX 跳过(基线逐位一致)。