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

Unified Diff: pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart

Issue 968843003: Implement type argument access and reification of runtime types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
diff --git a/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart b/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
index 721f99098cdadb054f098ff958a89c7326a42961..ba137706939945134626b27e905657428478dcd1 100644
--- a/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
+++ b/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
@@ -489,6 +489,10 @@ class StatementRewriter extends Visitor<Statement, Expression> with PassMixin {
return node;
}
+ Expression visitReifyRuntimeType(ReifyRuntimeType node) => node;
asgerf 2015/03/02 13:52:37 Visit and update subexpressions so variables can b
karlklose 2015/03/05 09:54:58 I lost this change when cherry picking from my fea
+
+ Expression visitReadTypeVariable(ReadTypeVariable node) => node;
+
/// If [s] and [t] are similar statements we extract their subexpressions
/// and returns a new statement of the same type using expressions combined
/// with the [combine] callback. For example:

Powered by Google App Engine
This is Rietveld 408576698