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

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

Issue 1240263002: dart2js cps: Streamline expressions and primitives. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rename Get/SetMutableVariable -> Get/SetMutable Created 5 years, 5 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
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/mutable_ssa.dart ('k') | pkg/compiler/lib/src/cps_ir/type_propagation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1970de0d0271ade7f88d180aef863f94f5e57c9..01738041a11c13754fe1f4600aa437b673255ee4 100644
--- a/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
+++ b/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
@@ -574,9 +574,8 @@ class ParentVisitor extends RecursiveVisitor {
node.value.parent = node;
}
- processSetMutableVariable(SetMutableVariable node) {
+ processSetMutable(SetMutable node) {
node.variable.parent = node;
- node.body.parent = node;
node.value.parent = node;
}
@@ -623,7 +622,6 @@ class ParentVisitor extends RecursiveVisitor {
processSetField(SetField node) {
node.object.parent = node;
node.value.parent = node;
- node.body.parent = node;
}
processGetField(GetField node) {
@@ -635,10 +633,9 @@ class ParentVisitor extends RecursiveVisitor {
processSetStatic(SetStatic node) {
node.value.parent = node;
- node.body.parent = node;
}
- processGetMutableVariable(GetMutableVariable node) {
+ processGetMutable(GetMutable node) {
node.variable.parent = node;
}
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/mutable_ssa.dart ('k') | pkg/compiler/lib/src/cps_ir/type_propagation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698