| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: annotation access in gvinit Signed-off-by: kkkkkkkbbbbbbb <songjian59@huawei.com> | 6 天前 | |
feat: sync dev to main Signed-off-by: weinw <weiningwei@h-partners.com> | 1 个月前 | |
feat: sync dev to main Signed-off-by: weinw <weiningwei@h-partners.com> | 1 个月前 | |
feat: support plugin Signed-off-by: kangyi <kangyi9@h-partners.com> | 1 个月前 | |
feat: sync dev to main Signed-off-by: weinw <weiningwei@h-partners.com> | 1 个月前 | |
fix(chir): hoist ReflectPackageIsUsed out of per-function DCE reporting DeadCodeElimination::ReportUnusedCode iterates over every function with a body and calls ReportUnusedFunc for each one. ReportUnusedFunc in turn called ReflectPackageIsUsed(curPkg) on every invocation, and that helper scans all imported custom type defs, all global funcs with body and all global vars with init of the package. This made unused-code reporting scale quadratically with package size and dominated compile time (~82% of CPU samples) for large packages. ReflectPackageIsUsed is loop-invariant during the read-only reporting phase, so compute it once in ReportUnusedCode and pass the result down to ReportUnusedFunc, mirroring what UselessFuncElimination already does. Fixes #987 assisted-by: claude-code/2.1.197 Signed-off-by: wyq1213 <wangyinqiang2@huawei.com> | 19 天前 | |
fix: support cpp plugins Signed-off-by: kangyi <kangyi9@h-partners.com> | 1 个月前 | |
!1822 merge bugfix_implicit_func into main fix: don't store implicit func in CHIR Created-by: Mr_Kang_Yi Commit-by: kangyi Merged-by: CangjiePL Description: ## Change Details (Required) 不在CHIR阶段记录隐式导入的函数了 ## Change Type (Required) Please describe the type of changes in this Pull Request (reason). **Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item.** - [ ] Feature - [x] Bugfix - [ ] Build Process or Auxiliary Tool Changes - [ ] Documentation Update ## Self-Check of Changes (Required) **Please do not modify or delete the following options. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item.** ### Platform Differences: - [x] No difference - [ ] Difference - [ ] Windows - [ ] Linux - [ ] macOS - [ ] Other (Please explain the reasons below) ### Affected Components: - [x] cjc (Cangjie Compiler) - [ ] LSP (Cangjie Language Server) - [ ] cjfmt (Cangjie Formatter) - [ ] cjlint (Cangjie Lint Tool) - [ ] stdx (Cangjie Standard Library Extensions) - [ ] Other (Please explain the reasons below) ### Local Compilation Verification Results: - [x] Cangjie Compiler compiled successfully - [x] Cangjie Runtime compiled successfully - [x] Cangjie Standard Library compiled successfully - [ ] Not applicable (select this option for auxiliary tool changes or documentation updates) ### Local Test Case Verification Results: - [x] Pass. Please provide screenshots below. - [ ] Not applicable. Please explain the reasons below.  ## Related Issues (Required) https://gitcode.com/Cangjie/cangjie_compiler/issues/946 See merge request: Cangjie/cangjie_compiler!1822 | 1 个月前 | |
fix: chir optimization in unreachable block Signed-off-by: kangyi <kangyi9@h-partners.com> | 10 天前 | |
fix: don't store implicit func in CHIR Signed-off-by: kangyi <kangyi9@h-partners.com> | 1 个月前 | |
fix: clang warning optioons on windows Signed-off-by: kkkkkkkbbbbbbb <songjian59@huawei.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 19 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 10 天前 | ||
| 1 个月前 | ||
| 2 个月前 |