Commit 83db399
[dart2js] Fix DictionaryTypeMask hashCode and == consistency.
The serializer uses these to cache instances of DictionaryTypeMask for indexing. If these produce inconsistent results we can end up with different caching patterns leading to different serialized outputs.
Change-Id: I8550f6fc1cb2bb32a68b3274e6add2e7ee56930d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403483
Auto-Submit: Nate Biggs <[email protected]>
Reviewed-by: Mayank Patke <[email protected]>
Commit-Queue: Mayank Patke <[email protected]>1 parent 85727ca commit 83db399
File tree
2 files changed
+8
-8
lines changed- pkg/compiler/lib/src/inferrer/typemasks
2 files changed
+8
-8
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 147 | + | |
151 | 148 | | |
152 | 149 | | |
153 | 150 | | |
154 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
144 | | - | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
| 153 | + | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments