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

Side by Side Diff: dart/lib/compiler/implementation/compile_time_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, 1 month 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 /** 5 /**
8 * The [ConstantHandler] keeps track of compile-time constants, 6 * The [ConstantHandler] keeps track of compile-time constants,
9 * initializations of global and static fields, and default values of 7 * initializations of global and static fields, and default values of
10 * optional parameters. 8 * optional parameters.
11 */ 9 */
12 class ConstantHandler extends CompilerTask { 10 class ConstantHandler extends CompilerTask {
13 final ConstantSystem constantSystem; 11 final ConstantSystem constantSystem;
14 12
15 /** 13 /**
16 * Contains the initial value of fields. Must contain all static and global 14 * Contains the initial value of fields. Must contain all static and global
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 // Use the default value. 808 // Use the default value.
811 fieldValue = compiler.compileConstant(field); 809 fieldValue = compiler.compileConstant(field);
812 } 810 }
813 jsNewArguments.add(fieldValue); 811 jsNewArguments.add(fieldValue);
814 }, 812 },
815 includeBackendMembers: true, 813 includeBackendMembers: true,
816 includeSuperMembers: true); 814 includeSuperMembers: true);
817 return jsNewArguments; 815 return jsNewArguments;
818 } 816 }
819 } 817 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/colors.dart ('k') | dart/lib/compiler/implementation/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698