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

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

Issue 981523002: Integrity checker for CPS and Tree IR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 // IrNodes are kept in a separate library to have precise control over their 5 // IrNodes are kept in a separate library to have precise control over their
6 // dependencies on other parts of the system. 6 // dependencies on other parts of the system.
7 library dart2js.ir_nodes; 7 library dart2js.ir_nodes;
8 8
9 import '../constants/expressions.dart'; 9 import '../constants/expressions.dart';
10 import '../constants/values.dart' as values show ConstantValue; 10 import '../constants/values.dart' as values show ConstantValue;
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 724
725 Continuation(this.parameters); 725 Continuation(this.parameters);
726 726
727 Continuation.retrn() : parameters = <Parameter>[new Parameter(null)]; 727 Continuation.retrn() : parameters = <Parameter>[new Parameter(null)];
728 728
729 accept(Visitor visitor) => visitor.visitContinuation(this); 729 accept(Visitor visitor) => visitor.visitContinuation(this);
730 } 730 }
731 731
732 abstract class ExecutableDefinition implements Node { 732 abstract class ExecutableDefinition implements Node {
733 RunnableBody get body; 733 RunnableBody get body;
734 Element get element;
734 735
735 applyPass(Pass pass); 736 applyPass(Pass pass);
736 } 737 }
737 738
738 // This is basically a function definition with an empty parameter list and a 739 // This is basically a function definition with an empty parameter list and a
739 // field element instead of a function element and no const declarations, and 740 // field element instead of a function element and no const declarations, and
740 // never a getter or setter, though that's less important. 741 // never a getter or setter, though that's less important.
741 class FieldDefinition extends Node implements ExecutableDefinition { 742 class FieldDefinition extends Node implements ExecutableDefinition {
742 final FieldElement element; 743 final FieldElement element;
743 RunnableBody body; 744 RunnableBody body;
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 1443
1443 void visitIdentical(Identical node) { 1444 void visitIdentical(Identical node) {
1444 visitReference(node.left); 1445 visitReference(node.left);
1445 visitReference(node.right); 1446 visitReference(node.right);
1446 } 1447 }
1447 1448
1448 void visitInterceptor(Interceptor node) { 1449 void visitInterceptor(Interceptor node) {
1449 visitReference(node.input); 1450 visitReference(node.input);
1450 } 1451 }
1451 } 1452 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698