Index: sdk/lib/_internal/lib/js_helper.dart |
diff --git a/sdk/lib/_internal/lib/js_helper.dart b/sdk/lib/_internal/lib/js_helper.dart |
index 073436ecea169ef59f502ec39fba3eece762e471..66a60bb1791196bb3017a3af855a261a67fcaff5 100644 |
--- a/sdk/lib/_internal/lib/js_helper.dart |
+++ b/sdk/lib/_internal/lib/js_helper.dart |
@@ -1422,7 +1422,7 @@ class _StackTrace implements StackTrace { |
} |
} |
-int _objectHashCode(var object) { |
+int objectHashCode(var object) { |
if (object == null || JS('bool', "typeof # != 'object'", object)) { |
return object.hashCode; |
} else { |
@@ -1440,7 +1440,7 @@ makeLiteralMap(keyValuePairs) { |
makeConstantMap(keyValuePairs) { |
return fillLiteralMap(keyValuePairs, |
- new LinkedHashMap(equals: identical, hashCode: _objectHashCode)); |
+ new LinkedHashMap(equals: identical, hashCode: objectHashCode)); |
} |
fillLiteralMap(keyValuePairs, Map result) { |