Commit ce86736
committed
Fix DenseMapInfo<AliasKeyTy>::getEmptyKey
The all zero key is not a good empty key because it is a legal value.
The all zero key means that we are comparing some value to itself (index zero in
the value table), looking at the first SILValue value with no type information
(for nullptr type info).1 parent ab969d1 commit ce86736
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| |||
0 commit comments