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

Side by Side Diff: dart/lib/compiler/implementation/compiler.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 /** 6 /**
9 * If true, print a warning for each method that was resolved, but not 7 * If true, print a warning for each method that was resolved, but not
10 * compiled. 8 * compiled.
11 */ 9 */
12 const bool REPORT_EXCESS_RESOLUTION = false; 10 const bool REPORT_EXCESS_RESOLUTION = false;
13 11
14 /** 12 /**
15 * If true, dump the inferred types after compilation. 13 * If true, dump the inferred types after compilation.
16 */ 14 */
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 // TODO(johnniwinther): Use [spannable] and [message] to provide better 861 // TODO(johnniwinther): Use [spannable] and [message] to provide better
864 // information on assertion errors. 862 // information on assertion errors.
865 if (condition is Function){ 863 if (condition is Function){
866 condition = condition(); 864 condition = condition();
867 } 865 }
868 if (!condition && message != null) { 866 if (!condition && message != null) {
869 print('assertion failed: $message'); 867 print('assertion failed: $message');
870 } 868 }
871 return spannable != null && condition; 869 return spannable != null && condition;
872 } 870 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/compile_time_constants.dart ('k') | dart/lib/compiler/implementation/constant_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698