| OLD | NEW | 
|---|
| 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; | 5 part of dart2js; | 
| 6 | 6 | 
| 7 /** | 7 /** | 
| 8  * If true, print a warning for each method that was resolved, but not | 8  * If true, print a warning for each method that was resolved, but not | 
| 9  * compiled. | 9  * compiled. | 
| 10  */ | 10  */ | 
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 271   ItemCompilationContext createItemCompilationContext() { | 271   ItemCompilationContext createItemCompilationContext() { | 
| 272     return new ItemCompilationContext(); | 272     return new ItemCompilationContext(); | 
| 273   } | 273   } | 
| 274 | 274 | 
| 275   bool classNeedsRti(ClassElement cls); | 275   bool classNeedsRti(ClassElement cls); | 
| 276   bool methodNeedsRti(FunctionElement function); | 276   bool methodNeedsRti(FunctionElement function); | 
| 277 | 277 | 
| 278   /// Called during codegen when [constant] has been used. | 278   /// Called during codegen when [constant] has been used. | 
| 279   void registerCompileTimeConstant(Constant constant, Registry registry) {} | 279   void registerCompileTimeConstant(Constant constant, Registry registry) {} | 
| 280 | 280 | 
| 281   /// Called during resolution when a metadata [constant] for [annotatedElement] | 281   /// Called during resolution when a constant value for [metadata] on | 
| 282   /// has been evaluated. | 282   /// [annotatedElement] has been evaluated. | 
| 283   void registerMetadataConstant(Constant constant, | 283   void registerMetadataConstant(MetadataAnnotation metadata, | 
| 284                                 Element annotatedElement, | 284                                 Element annotatedElement, | 
| 285                                 Registry registry) {} | 285                                 Registry registry) {} | 
| 286 | 286 | 
| 287   /// Called during resolution to notify to the backend that a class is | 287   /// Called during resolution to notify to the backend that a class is | 
| 288   /// being instantiated. | 288   /// being instantiated. | 
| 289   void registerInstantiatedClass(ClassElement cls, | 289   void registerInstantiatedClass(ClassElement cls, | 
| 290                                  Enqueuer enqueuer, | 290                                  Enqueuer enqueuer, | 
| 291                                  Registry registry) {} | 291                                  Registry registry) {} | 
| 292 | 292 | 
| 293   /// Register an is check to the backend. | 293   /// Register an is check to the backend. | 
| (...skipping 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2124   int warnings = 0; | 2124   int warnings = 0; | 
| 2125   int hints = 0; | 2125   int hints = 0; | 
| 2126 } | 2126 } | 
| 2127 | 2127 | 
| 2128 class GenericTask extends CompilerTask { | 2128 class GenericTask extends CompilerTask { | 
| 2129   final String name; | 2129   final String name; | 
| 2130 | 2130 | 
| 2131   GenericTask(this.name, Compiler compiler) | 2131   GenericTask(this.name, Compiler compiler) | 
| 2132       : super(compiler); | 2132       : super(compiler); | 
| 2133 } | 2133 } | 
| OLD | NEW | 
|---|