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

Side by Side Diff: dart/lib/compiler/implementation/constants.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart2js;
6
7 abstract class ConstantVisitor<R> { 5 abstract class ConstantVisitor<R> {
8 R visitSentinel(SentinelConstant constant); 6 R visitSentinel(SentinelConstant constant);
9 R visitFunction(FunctionConstant constant); 7 R visitFunction(FunctionConstant constant);
10 R visitNull(NullConstant constant); 8 R visitNull(NullConstant constant);
11 R visitInt(IntConstant constant); 9 R visitInt(IntConstant constant);
12 R visitDouble(DoubleConstant constant); 10 R visitDouble(DoubleConstant constant);
13 R visitTrue(TrueConstant constant); 11 R visitTrue(TrueConstant constant);
14 R visitFalse(FalseConstant constant); 12 R visitFalse(FalseConstant constant);
15 R visitString(StringConstant constant); 13 R visitString(StringConstant constant);
16 R visitList(ListConstant constant); 14 R visitList(ListConstant constant);
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 for (int i = 0; i < fields.length; i++) { 445 for (int i = 0; i < fields.length; i++) {
448 if (fields[i] != other.fields[i]) return false; 446 if (fields[i] != other.fields[i]) return false;
449 } 447 }
450 return true; 448 return true;
451 } 449 }
452 450
453 List<Constant> getDependencies() => fields; 451 List<Constant> getDependencies() => fields;
454 452
455 accept(ConstantVisitor visitor) => visitor.visitConstructed(this); 453 accept(ConstantVisitor visitor) => visitor.visitConstructed(this);
456 } 454 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/constant_system_dart.dart ('k') | dart/lib/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698