Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Unified Diff: test/dart_codegen/expect/collection/hash_map.dart

Issue 1055923002: Don't call dinvoke on Object methods (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Refactor dynamic target logic Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/dart_codegen/expect/collection/hash_map.dart
diff --git a/test/dart_codegen/expect/collection/hash_map.dart b/test/dart_codegen/expect/collection/hash_map.dart
index 3b0eb2f46f033918a58740a389254a6148988b27..53ecbbbaece684a904726945099d5f0dd9434d44 100644
--- a/test/dart_codegen/expect/collection/hash_map.dart
+++ b/test/dart_codegen/expect/collection/hash_map.dart
@@ -1,6 +1,6 @@
part of dart.collection;
bool _defaultEquals(a, b) => a == b;
- int _defaultHashCode(a) => DEVC$RT.cast(a.hashCode, dynamic, int, "DynamicCast", """line 10, column 28 of dart:collection/hash_map.dart: """, a.hashCode is int, true);
+ int _defaultHashCode(a) => a.hashCode;
typedef bool _Equality<K>(K a, K b);
typedef int _Hasher<K>(K object);
abstract class HashMap<K, V> implements Map<K, V> {external factory HashMap({

Powered by Google App Engine
This is Rietveld 408576698