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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/core_patch.dart

Issue 11417005: Do not canonicalize Type instances. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
index 1277851631dd158e3077470901b90d74aedc8073..14f06497a3fb0e2671a9ef7f76c0a0a4b491fadd 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
@@ -27,8 +27,8 @@ patch class Object {
}
patch Type get runtimeType {
- String key = getRuntimeTypeString(this);
- return getOrCreateCachedRuntimeType(key);
+ String type = getRuntimeTypeString(this);
+ return new TypeImpl(type);
}
}

Powered by Google App Engine
This is Rietveld 408576698