Commit ec0026f
committed
[NFC] AccessBase: correct initialization from pointer_to_address
AccessBase already identifies a base address as either a .global (addressor) or
a .pointer. When initializing an AccessBase from a pointer_to_address, precisely
identify one of these kinds of accesses, rather than simply marking it
.unidentified.
This used to be a special case in the AccessPathWalker. But that's not the right
place to handle it.1 parent cdb646d commit ec0026f
File tree
1 file changed
+8
-11
lines changed- SwiftCompilerSources/Sources/SIL/Utilities
1 file changed
+8
-11
lines changedLines changed: 8 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| |||
528 | 534 | | |
529 | 535 | | |
530 | 536 | | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
| 537 | + | |
| 538 | + | |
541 | 539 | | |
542 | | - | |
543 | 540 | | |
544 | 541 | | |
545 | 542 | | |
| |||
0 commit comments