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

Side by Side Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart

Issue 1134063002: dart2js cps: Introduce GetStatic/SetStatic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.ir_builder_task; 5 library dart2js.ir_builder_task;
6 6
7 import '../closure.dart' as closurelib; 7 import '../closure.dart' as closurelib;
8 import '../closure.dart' hide ClosureScope; 8 import '../closure.dart' hide ClosureScope;
9 import '../constants/expressions.dart'; 9 import '../constants/expressions.dart';
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
(...skipping 3612 matching lines...) Expand 10 before | Expand all | Expand 10 after
3623 } 3623 }
3624 3624
3625 processDeclareFunction(ir.DeclareFunction node) { 3625 processDeclareFunction(ir.DeclareFunction node) {
3626 node.body = replacementFor(node.body); 3626 node.body = replacementFor(node.body);
3627 } 3627 }
3628 3628
3629 processSetField(ir.SetField node) { 3629 processSetField(ir.SetField node) {
3630 node.body = replacementFor(node.body); 3630 node.body = replacementFor(node.body);
3631 } 3631 }
3632 3632
3633 processSetStatic(ir.SetStatic node) {
3634 node.body = replacementFor(node.body);
3635 }
3636
3633 processContinuation(ir.Continuation node) { 3637 processContinuation(ir.Continuation node) {
3634 node.body = replacementFor(node.body); 3638 node.body = replacementFor(node.body);
3635 } 3639 }
3636 3640
3637 processBody(ir.Body node) { 3641 processBody(ir.Body node) {
3638 node.body = replacementFor(node.body); 3642 node.body = replacementFor(node.body);
3639 } 3643 }
3640 } 3644 }
3641 3645
3642 /// Visit a just-deleted subterm and unlink all [Reference]s in it. 3646 /// Visit a just-deleted subterm and unlink all [Reference]s in it.
3643 class RemovalVisitor extends ir.RecursiveVisitor { 3647 class RemovalVisitor extends ir.RecursiveVisitor {
3644 processReference(ir.Reference reference) { 3648 processReference(ir.Reference reference) {
3645 reference.unlink(); 3649 reference.unlink();
3646 } 3650 }
3647 } 3651 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698