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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.dart

Issue 14018036: Remove holders for runtime type information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix type annotation. Created 7 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: 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 1eb00120dc2af90da71bb17938e7f98e7698136b..19525ee8e441d79875a188ce009824411488ad92 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -2801,8 +2801,9 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
HInstruction representations =
buildTypeArgumentRepresentations(type);
add(representations);
- HInstruction isFieldName =
- addConstantString(node, backend.namer.operatorIs(element));
+ String operator =
+ backend.namer.operatorIs(backend.getImplementationClass(element));
+ HInstruction isFieldName = addConstantString(node, operator);
// TODO(karlklose): use [:null:] for [asField] if [element] does not
// have a subclass.
HInstruction asFieldName =

Powered by Google App Engine
This is Rietveld 408576698