| Index: runtime/lib/object_patch.dart
|
| diff --git a/runtime/lib/object_patch.dart b/runtime/lib/object_patch.dart
|
| index 2d42da7df44ebf90db1c20f3e6b0045f3bf5533a..6bba2c7f7df8c67cc4d0e3180976bce06408fa48 100644
|
| --- a/runtime/lib/object_patch.dart
|
| +++ b/runtime/lib/object_patch.dart
|
| @@ -12,7 +12,9 @@ patch class Object {
|
| static _getHash(obj) native "Object_getHash";
|
| static _setHash(obj, hash) native "Object_setHash";
|
|
|
| - /* patch */ int get hashCode {
|
| + /* patch */ int get hashCode => _identityHashCode;
|
| +
|
| + int get _identityHashCode {
|
| var result = _getHash(this);
|
| if (result == 0) {
|
| // We want the hash to be a Smi value greater than 0.
|
|
|