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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart

Issue 342653005: Fixed dart2js compile errors in ir_builder and ir_nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart ('k') | 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 '../dart2jslib.dart' as dart2js show Constant, ConstructedConstant; 9 import '../dart2jslib.dart' as dart2js show Constant, ConstructedConstant;
10 import '../elements/elements.dart' 10 import '../elements/elements.dart'
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 Constant(this.value); 303 Constant(this.value);
304 304
305 dart2js.Constant get constant => value; 305 dart2js.Constant get constant => value;
306 306
307 accept(Visitor visitor) => visitor.visitConstant(this); 307 accept(Visitor visitor) => visitor.visitConstant(this);
308 } 308 }
309 309
310 class This extends Primitive { 310 class This extends Primitive {
311 This(); 311 This();
312 312
313 dart2js.Constant get constant => null;
314
313 accept(Visitor visitor) => visitor.visitThis(this); 315 accept(Visitor visitor) => visitor.visitThis(this);
314 } 316 }
315 317
316 class LiteralList extends Primitive { 318 class LiteralList extends Primitive {
317 /// The List type being created; this is not the type argument. 319 /// The List type being created; this is not the type argument.
318 final GenericType type; 320 final GenericType type;
319 final List<Reference> values; 321 final List<Reference> values;
320 322
321 /// Set to null if this is not a const literal list. 323 /// Set to null if this is not a const literal list.
322 final dart2js.Constant constant; 324 final dart2js.Constant constant;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 for (int i = node.parameters.length - 1; i >= 0; --i) { 683 for (int i = node.parameters.length - 1; i >= 0; --i) {
682 release(node.parameters[i]); 684 release(node.parameters[i]);
683 } 685 }
684 } 686 }
685 687
686 void visitIsTrue(IsTrue node) { 688 void visitIsTrue(IsTrue node) {
687 visitReference(node.value); 689 visitReference(node.value);
688 } 690 }
689 691
690 } 692 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698