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

Unified Diff: pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart

Issue 1134063002: dart2js cps: Introduce GetStatic/SetStatic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 552e24dc907e5f6431b15947e28d0b16e1045864..f834d3364095b2140fc4bd6ea7640afaae67c706 100644
--- a/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
+++ b/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
@@ -658,6 +658,14 @@ class ParentVisitor extends RecursiveVisitor {
node.object.parent = node;
}
+ processGetStatic(GetStatic node) {
+ }
+
+ processSetStatic(SetStatic node) {
+ node.value.parent = node;
+ node.body.parent = node;
+ }
+
processGetMutableVariable(GetMutableVariable node) {
node.variable.parent = node;
}

Powered by Google App Engine
This is Rietveld 408576698