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

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: 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 cb9a7dd8c0f4b13e042f849f0047fb6b79765711..1f550ffdd18ab5ab85910987ed97f0ead808b969 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -2794,8 +2794,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