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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.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/ssa/builder.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
index 6c1ae5d4a49a3f4270d55008ef8e0ac68a7435e5..6df724a5e25097dce7b47766438f01e4363108f4 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -3231,7 +3231,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
Element element = elements[node];
HInstruction name;
Element helper =
- compiler.findHelper(RuntimeTypeInformation.CACHE_HELPER_NAME);
+ compiler.findHelper(const SourceString('createRuntimeType'));
if (element.isClass()) {
String string = rti.generateRuntimeTypeString(element, 0);
name = addConstantString(node.selector, string);

Powered by Google App Engine
This is Rietveld 408576698