| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.js_emitter.program_builder; | 5 library dart2js.js_emitter.program_builder; |
| 6 | 6 |
| 7 import '../../closure.dart' show ClosureFieldElement; | 7 import '../../closure.dart' show ClosureFieldElement; |
| 8 import '../../common.dart'; | 8 import '../../common.dart'; |
| 9 import '../../common/names.dart' show Names, Selectors; | 9 import '../../common/names.dart' show Names, Selectors; |
| 10 import '../../compiler.dart' show Compiler; | 10 import '../../compiler.dart' show Compiler; |
| 11 import '../../constants/values.dart' | 11 import '../../constants/values.dart' |
| 12 show ConstantValue, InterceptorConstantValue; | 12 show ConstantValue, InterceptorConstantValue; |
| 13 import '../../core_types.dart' show CommonElements; | 13 import '../../core_types.dart' show CommonElements; |
| 14 import '../../dart_types.dart' show DartType, FunctionType, TypedefType; | 14 import '../../elements/resolution_types.dart' |
| 15 show DartType, FunctionType, TypedefType; |
| 15 import '../../deferred_load.dart' show DeferredLoadTask, OutputUnit; | 16 import '../../deferred_load.dart' show DeferredLoadTask, OutputUnit; |
| 16 import '../../elements/elements.dart' | 17 import '../../elements/elements.dart' |
| 17 show | 18 show |
| 18 ClassElement, | 19 ClassElement, |
| 19 Element, | 20 Element, |
| 20 Elements, | 21 Elements, |
| 21 FieldElement, | 22 FieldElement, |
| 22 FunctionElement, | 23 FunctionElement, |
| 23 FunctionSignature, | 24 FunctionSignature, |
| 24 GetterElement, | 25 GetterElement, |
| (...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 Constant constant = new Constant(name, holder, constantValue); | 989 Constant constant = new Constant(name, holder, constantValue); |
| 989 _constants[constantValue] = constant; | 990 _constants[constantValue] = constant; |
| 990 } | 991 } |
| 991 } | 992 } |
| 992 | 993 |
| 993 Holder _registerStaticStateHolder() { | 994 Holder _registerStaticStateHolder() { |
| 994 return _registry.registerHolder(namer.staticStateHolder, | 995 return _registry.registerHolder(namer.staticStateHolder, |
| 995 isStaticStateHolder: true); | 996 isStaticStateHolder: true); |
| 996 } | 997 } |
| 997 } | 998 } |
| OLD | NEW |