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

Unified Diff: pkg/compiler/lib/src/cps_ir/shrinking_reductions.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/cps_ir/shrinking_reductions.dart
diff --git a/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart b/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
index 79234f847cbf57547006aaf96519b5210685a7ce..74146832b7177f7e7b954263afa941c30dbe6af7 100644
--- a/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
+++ b/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
@@ -660,6 +660,14 @@ class ParentVisitor extends RecursiveVisitor {
processCreateBox(CreateBox node) {
}
+
+ processReifyRuntimeType(ReifyRuntimeType node) {
+ node.value.parent = node;
+ }
+
+ processReadTypeVariable(ReadTypeVariable node) {
+ node.target.parent = node;
+ }
}
class _ReductionKind {

Powered by Google App Engine
This is Rietveld 408576698