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

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

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

Powered by Google App Engine
This is Rietveld 408576698