| 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 library dart2js.compiler_base; | 5 library dart2js.compiler_base; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 EventSink, | 8 EventSink, |
| 9 Future; | 9 Future; |
| 10 | 10 |
| 11 import '../compiler_new.dart' as api; | 11 import '../compiler_new.dart' as api; |
| 12 import 'cache_strategy.dart' show | 12 import 'cache_strategy.dart' show |
| 13 CacheStrategy; | 13 CacheStrategy; |
| 14 import 'closure.dart' as closureMapping show | 14 import 'closure.dart' as closureMapping show |
| 15 ClosureTask; | 15 ClosureTask; |
| 16 import 'common.dart'; |
| 16 import 'common/backend_api.dart' show | 17 import 'common/backend_api.dart' show |
| 17 Backend; | 18 Backend; |
| 18 import 'common/codegen.dart' show | 19 import 'common/codegen.dart' show |
| 19 CodegenRegistry, | 20 CodegenRegistry, |
| 20 CodegenWorkItem; | 21 CodegenWorkItem; |
| 21 import 'common/names.dart' show | 22 import 'common/names.dart' show |
| 22 Identifiers, | 23 Identifiers, |
| 23 Uris; | 24 Uris; |
| 24 import 'common/registry.dart' show | 25 import 'common/registry.dart' show |
| 25 Registry; | 26 Registry; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 39 CoreTypes; | 40 CoreTypes; |
| 40 import 'dart_backend/dart_backend.dart' as dart_backend; | 41 import 'dart_backend/dart_backend.dart' as dart_backend; |
| 41 import 'dart_types.dart' show | 42 import 'dart_types.dart' show |
| 42 DartType, | 43 DartType, |
| 43 DynamicType, | 44 DynamicType, |
| 44 InterfaceType, | 45 InterfaceType, |
| 45 Types; | 46 Types; |
| 46 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit; | 47 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit; |
| 47 import 'diagnostics/code_location.dart'; | 48 import 'diagnostics/code_location.dart'; |
| 48 import 'diagnostics/diagnostic_listener.dart' show | 49 import 'diagnostics/diagnostic_listener.dart' show |
| 49 DiagnosticMessage, | 50 DiagnosticOptions; |
| 50 DiagnosticOptions, | |
| 51 DiagnosticReporter; | |
| 52 import 'diagnostics/invariant.dart' show | 51 import 'diagnostics/invariant.dart' show |
| 53 invariant, | |
| 54 REPORT_EXCESS_RESOLUTION; | 52 REPORT_EXCESS_RESOLUTION; |
| 55 import 'diagnostics/messages.dart' show | 53 import 'diagnostics/messages.dart' show |
| 56 Message, | 54 Message, |
| 57 MessageKind, | |
| 58 MessageTemplate; | 55 MessageTemplate; |
| 59 import 'diagnostics/source_span.dart' show | |
| 60 SourceSpan; | |
| 61 import 'diagnostics/spannable.dart' show | |
| 62 CURRENT_ELEMENT_SPANNABLE, | |
| 63 NO_LOCATION_SPANNABLE, | |
| 64 Spannable, | |
| 65 SpannableAssertionFailure; | |
| 66 import 'dump_info.dart' show | 56 import 'dump_info.dart' show |
| 67 DumpInfoTask; | 57 DumpInfoTask; |
| 68 import 'elements/elements.dart'; | 58 import 'elements/elements.dart'; |
| 69 import 'elements/modelx.dart' show | 59 import 'elements/modelx.dart' show |
| 70 ErroneousElementX, | 60 ErroneousElementX, |
| 71 ClassElementX, | 61 ClassElementX, |
| 72 CompilationUnitElementX, | 62 CompilationUnitElementX, |
| 73 DeferredLoaderGetterElementX, | 63 DeferredLoaderGetterElementX, |
| 74 MethodElementX, | 64 MethodElementX, |
| 75 LibraryElementX, | 65 LibraryElementX, |
| (...skipping 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2013 | 2003 |
| 2014 @override | 2004 @override |
| 2015 void parsePatchClass(ClassElement cls) { | 2005 void parsePatchClass(ClassElement cls) { |
| 2016 compiler.patchParser.measure(() { | 2006 compiler.patchParser.measure(() { |
| 2017 if (cls.isPatch) { | 2007 if (cls.isPatch) { |
| 2018 compiler.patchParser.parsePatchClassNode(cls); | 2008 compiler.patchParser.parsePatchClassNode(cls); |
| 2019 } | 2009 } |
| 2020 }); | 2010 }); |
| 2021 } | 2011 } |
| 2022 } | 2012 } |
| OLD | NEW |