Commit c181912
committed
simplify: port RefineType + GuardType identity to C (chunk 3)
Two new C handlers:
- simplify_refine_type_c: fully replaces C++ simplifyRefineType
- simplify_guard_type_identity_c: handles GuardType identity path
(type already matches), falls through to C++ for TNoneType case1 parent 4bd8c72 commit c181912
3 files changed
Lines changed: 31 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2736 | 2736 | | |
2737 | 2737 | | |
2738 | 2738 | | |
2739 | | - | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
2740 | 2742 | | |
| 2743 | + | |
2741 | 2744 | | |
2742 | | - | |
| 2745 | + | |
2743 | 2746 | | |
2744 | 2747 | | |
2745 | 2748 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
49 | 73 | | |
50 | 74 | | |
51 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments