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

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: Addressed comments. 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 af661e7c19e99ca23658aedf20eda7ed7b5a8998..5d89f3f054d8129a223954dad5ba149e09c496c0 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -2830,7 +2830,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);
}));
@@ -3528,7 +3528,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