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

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

Issue 816463002: Fix a type annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 List<ConstDeclaration> localConstants, 700 List<ConstDeclaration> localConstants,
701 List<ConstantExpression> defaultParameterValues, 701 List<ConstantExpression> defaultParameterValues,
702 List<ClosureVariable> closureVariables) 702 List<ClosureVariable> closureVariables)
703 : super(element, parameters, body, localConstants, 703 : super(element, parameters, body, localConstants,
704 defaultParameterValues, closureVariables); 704 defaultParameterValues, closureVariables);
705 705
706 // 'Abstract' here means "has no body" and is used to represent external 706 // 'Abstract' here means "has no body" and is used to represent external
707 // constructors. 707 // constructors.
708 ConstructorDefinition.abstract( 708 ConstructorDefinition.abstract(
709 ConstructorElement element, 709 ConstructorElement element,
710 List<Parameter> parameters, 710 List<Definition> parameters,
711 List<ConstantExpression> defaultParameterValues) 711 List<ConstantExpression> defaultParameterValues)
712 : initializers = null, 712 : initializers = null,
713 super.abstract(element, parameters, defaultParameterValues); 713 super.abstract(element, parameters, defaultParameterValues);
714 714
715 accept(Visitor visitor) => visitor.visitConstructorDefinition(this); 715 accept(Visitor visitor) => visitor.visitConstructorDefinition(this);
716 applyPass(Pass pass) => pass.rewriteConstructorDefinition(this); 716 applyPass(Pass pass) => pass.rewriteConstructorDefinition(this);
717 } 717 }
718 718
719 List<Reference<Primitive>> _referenceList(Iterable<Primitive> definitions) { 719 List<Reference<Primitive>> _referenceList(Iterable<Primitive> definitions) {
720 return definitions.map((e) => new Reference<Primitive>(e)).toList(); 720 return definitions.map((e) => new Reference<Primitive>(e)).toList();
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 1205
1206 void visitIdentical(Identical node) { 1206 void visitIdentical(Identical node) {
1207 visitReference(node.left); 1207 visitReference(node.left);
1208 visitReference(node.right); 1208 visitReference(node.right);
1209 } 1209 }
1210 1210
1211 void visitInterceptor(Interceptor node) { 1211 void visitInterceptor(Interceptor node) {
1212 visitReference(node.input); 1212 visitReference(node.input);
1213 } 1213 }
1214 } 1214 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698