Index: runtime/lib/expando_patch.dart |
diff --git a/runtime/lib/expando_patch.dart b/runtime/lib/expando_patch.dart |
index 7608861d77e2d5961baf1d8f5042f41d96a2ed9f..0c9427ca41c7ad1f83710b8ee453c6932f8f5c7f 100644 |
--- a/runtime/lib/expando_patch.dart |
+++ b/runtime/lib/expando_patch.dart |
@@ -14,7 +14,7 @@ patch class Expando<T> { |
_checkType(object); |
var mask = _size - 1; |
- var idx = object.hashCode & mask; |
+ var idx = object._identityHashCode & mask; |
var wp = _data[idx]; |
while (wp != null) { |
@@ -35,7 +35,7 @@ patch class Expando<T> { |
_checkType(object); |
var mask = _size - 1; |
- var idx = object.hashCode & mask; |
+ var idx = object._identityHashCode & mask; |
var empty_idx = -1; |
var wp = _data[idx]; |
@@ -64,7 +64,7 @@ patch class Expando<T> { |
if (value == null) { |
// Not entering a null value. We just needed to make sure to clear an |
- // existing value if it existed. |
+ // existing value if it existed. |
return; |
} |