Commit c052d1b
committed
IRGen: simplify the stdlib special casing for Windows
Remove `IRGenModule::useDllStorage()` as there is a standalone version
that is available and the necessary information is public from the
`IRGenModule` type. Additionally, avoid the wrapped `isStandardLibrary`
preferring to use the same method off of the public accessors. This
works towards removing some of the standard library special casing so
that it is possible to support both static and dynamic standard
libraries on Windows.1 parent 7aed593 commit c052d1b
File tree
4 files changed
+6
-15
lines changed- lib/IRGen
4 files changed
+6
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1396 | 1396 | | |
1397 | 1397 | | |
1398 | 1398 | | |
1399 | | - | |
| 1399 | + | |
1400 | 1400 | | |
1401 | | - | |
| 1401 | + | |
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | 1060 | | |
1065 | 1061 | | |
1066 | 1062 | | |
| |||
1293 | 1289 | | |
1294 | 1290 | | |
1295 | 1291 | | |
1296 | | - | |
| 1292 | + | |
1297 | 1293 | | |
1298 | 1294 | | |
1299 | 1295 | | |
| |||
2127 | 2123 | | |
2128 | 2124 | | |
2129 | 2125 | | |
2130 | | - | |
2131 | | - | |
2132 | 2126 | | |
2133 | 2127 | | |
2134 | 2128 | | |
| |||
2152 | 2146 | | |
2153 | 2147 | | |
2154 | 2148 | | |
2155 | | - | |
| 2149 | + | |
2156 | 2150 | | |
2157 | | - | |
| 2151 | + | |
2158 | 2152 | | |
2159 | 2153 | | |
2160 | 2154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
972 | | - | |
973 | 971 | | |
974 | 972 | | |
975 | 973 | | |
| |||
1510 | 1508 | | |
1511 | 1509 | | |
1512 | 1510 | | |
1513 | | - | |
1514 | 1511 | | |
1515 | 1512 | | |
1516 | 1513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| |||
0 commit comments