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

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

Issue 26472002: Add TypeVariable object on runtime to support reflection on type variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 70713dad882d0a1001d0ca5d9df52d3f68575730..22134a73a7d1847d68720dba2a18c91ca8c47f4d 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -2771,7 +2771,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
bool first = true;
List<String> templates = <String>[];
for (DartType argument in interface.typeArguments) {
- templates.add(rti.getTypeRepresentation(argument, (variable) {
+ templates.add(rti.getTypeRepresentationWithHashes(argument, (variable) {
HInstruction runtimeType = addTypeVariableReference(variable);
inputs.add(runtimeType);
}));
@@ -3469,7 +3469,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
List<HInstruction> inputs = <HInstruction>[];
- String template = rti.getTypeRepresentation(argument, (variable) {
+ String template = rti.getTypeRepresentationWithHashes(argument, (variable) {
inputs.add(addTypeVariableReference(variable));
});

Powered by Google App Engine
This is Rietveld 408576698