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_incremental.library_updater; | 5 library dart2js_incremental.library_updater; |
6 | 6 |
7 import 'dart:async' show | 7 import 'dart:async' show |
8 Future; | 8 Future; |
9 | 9 |
10 import 'dart:convert' show | 10 import 'dart:convert' show |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 MemberInfo, | 66 MemberInfo, |
67 computeMixinClass; | 67 computeMixinClass; |
68 | 68 |
69 import 'package:compiler/src/js_emitter/model.dart' show | 69 import 'package:compiler/src/js_emitter/model.dart' show |
70 Class, | 70 Class, |
71 Method; | 71 Method; |
72 | 72 |
73 import 'package:compiler/src/js_emitter/program_builder.dart' show | 73 import 'package:compiler/src/js_emitter/program_builder.dart' show |
74 ProgramBuilder; | 74 ProgramBuilder; |
75 | 75 |
76 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' | 76 import 'package:js_runtime/shared/embedded_names.dart' |
77 as embeddedNames; | 77 as embeddedNames; |
78 | 78 |
79 import 'package:compiler/src/js_backend/js_backend.dart' show | 79 import 'package:compiler/src/js_backend/js_backend.dart' show |
80 JavaScriptBackend, | 80 JavaScriptBackend, |
81 Namer; | 81 Namer; |
82 | 82 |
83 import 'package:compiler/src/util/util.dart' show | 83 import 'package:compiler/src/util/util.dart' show |
84 Link, | 84 Link, |
85 LinkBuilder; | 85 LinkBuilder; |
86 | 86 |
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 .buildFieldsHackForIncrementalCompilation(classElement); | 1487 .buildFieldsHackForIncrementalCompilation(classElement); |
1488 // TODO(ahe): Rewrite for new emitter. | 1488 // TODO(ahe): Rewrite for new emitter. |
1489 ClassBuilder builder = new ClassBuilder(classElement, namer); | 1489 ClassBuilder builder = new ClassBuilder(classElement, namer); |
1490 classEmitter.emitFields(cls, builder); | 1490 classEmitter.emitFields(cls, builder); |
1491 return builder.fields; | 1491 return builder.fields; |
1492 } | 1492 } |
1493 } | 1493 } |
1494 | 1494 |
1495 // TODO(ahe): Remove this method. | 1495 // TODO(ahe): Remove this method. |
1496 NO_WARN(x) => x; | 1496 NO_WARN(x) => x; |
OLD | NEW |