Commit fc6bc92
committed
fix(cha): add self-loop guard to runPostNativeCha and TODO for confidence alignment (#1514)
runPostNativeCha's BFS inner loop was missing the same self-loop guard
already added to runChaPostPass and runPostNativeThisDispatch, allowing
B.m→B.m edges to persist on the native CHA path when super-dispatch
triggers CHA expansion. Also adds a TODO comment on the hardcoded 0.8
confidence in runChaPostPass noting it needs alignment with the formula
used in runPostNativeCha (requires extending findMethodStmt to fetch file).1 parent 893af0f commit fc6bc92
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| 657 | + | |
657 | 658 | | |
658 | 659 | | |
659 | 660 | | |
| |||
0 commit comments