Commit eaab395
committed
Remove ExplicitCompletionHandlerIndex flag
Assuming that we don't typecheck a deserialized module, we don't
actually need the ExplicitCompletionHandlerIndex. We used this flag to
determine whether we could trust the number stored in the handler index
or just take the last parameter of the function we're attached to.
Since we only typecheck it before serialization, we can safely check
that the completion handler location is valid before choosing whether we
should trust it or not.1 parent 9f41261 commit eaab395
File tree
6 files changed
+6
-18
lines changed- include/swift/AST
- lib
- Parse
- Sema
- Serialization
6 files changed
+6
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2172 | 2172 | | |
2173 | 2173 | | |
2174 | 2174 | | |
2175 | | - | |
2176 | | - | |
2177 | | - | |
2178 | 2175 | | |
2179 | 2176 | | |
2180 | 2177 | | |
2181 | 2178 | | |
2182 | | - | |
2183 | 2179 | | |
2184 | 2180 | | |
2185 | 2181 | | |
| |||
2188 | 2184 | | |
2189 | 2185 | | |
2190 | 2186 | | |
2191 | | - | |
2192 | | - | |
| 2187 | + | |
2193 | 2188 | | |
2194 | 2189 | | |
2195 | | - | |
2196 | 2190 | | |
2197 | 2191 | | |
2198 | 2192 | | |
2199 | 2193 | | |
2200 | 2194 | | |
2201 | 2195 | | |
2202 | 2196 | | |
2203 | | - | |
2204 | 2197 | | |
2205 | 2198 | | |
2206 | 2199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
1633 | | - | |
| 1633 | + | |
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5710 | 5710 | | |
5711 | 5711 | | |
5712 | 5712 | | |
5713 | | - | |
| 5713 | + | |
5714 | 5714 | | |
5715 | 5715 | | |
5716 | 5716 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4554 | 4554 | | |
4555 | 4555 | | |
4556 | 4556 | | |
4557 | | - | |
4558 | 4557 | | |
4559 | 4558 | | |
4560 | | - | |
4561 | | - | |
| 4559 | + | |
4562 | 4560 | | |
4563 | 4561 | | |
4564 | 4562 | | |
4565 | 4563 | | |
4566 | | - | |
4567 | | - | |
| 4564 | + | |
4568 | 4565 | | |
4569 | 4566 | | |
4570 | 4567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1926 | 1926 | | |
1927 | 1927 | | |
1928 | 1928 | | |
1929 | | - | |
1930 | 1929 | | |
1931 | 1930 | | |
1932 | 1931 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2632 | 2632 | | |
2633 | 2633 | | |
2634 | 2634 | | |
2635 | | - | |
2636 | | - | |
| 2635 | + | |
2637 | 2636 | | |
2638 | 2637 | | |
2639 | 2638 | | |
| |||
0 commit comments