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.new_js_emitter.model_emitter; | 5 library dart2js.new_js_emitter.model_emitter; |
6 | 6 |
7 import '../../constants/values.dart' show ConstantValue, FunctionConstantValue; | 7 import '../../constants/values.dart' show ConstantValue, FunctionConstantValue; |
8 import '../../dart2jslib.dart' show Compiler; | 8 import '../../dart2jslib.dart' show Compiler; |
9 import '../../elements/elements.dart' show ClassElement, FunctionElement; | 9 import '../../elements/elements.dart' show ClassElement, FunctionElement; |
10 import '../../js/js.dart' as js; | 10 import '../../js/js.dart' as js; |
11 import '../../js_backend/js_backend.dart' show | 11 import '../../js_backend/js_backend.dart' show |
12 JavaScriptBackend, | 12 JavaScriptBackend, |
13 Namer, | 13 Namer, |
14 ConstantEmitter; | 14 ConstantEmitter; |
15 | 15 |
16 import '../js_emitter.dart' show AstContainer, NativeEmitter; | 16 import '../js_emitter.dart' show AstContainer, NativeEmitter; |
17 | 17 |
18 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' show | 18 import 'package:js_runtime/shared/embedded_names.dart' show |
19 CREATE_NEW_ISOLATE, | 19 CREATE_NEW_ISOLATE, |
20 DEFERRED_LIBRARY_URIS, | 20 DEFERRED_LIBRARY_URIS, |
21 DEFERRED_LIBRARY_HASHES, | 21 DEFERRED_LIBRARY_HASHES, |
22 GET_TYPE_FROM_NAME, | 22 GET_TYPE_FROM_NAME, |
23 INITIALIZE_LOADED_HUNK, | 23 INITIALIZE_LOADED_HUNK, |
24 INTERCEPTORS_BY_TAG, | 24 INTERCEPTORS_BY_TAG, |
25 IS_HUNK_INITIALIZED, | 25 IS_HUNK_INITIALIZED, |
26 IS_HUNK_LOADED, | 26 IS_HUNK_LOADED, |
27 LEAF_TAGS, | 27 LEAF_TAGS, |
28 MANGLED_GLOBAL_NAMES, | 28 MANGLED_GLOBAL_NAMES, |
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1276 | 1276 |
1277 var end = Date.now(); | 1277 var end = Date.now(); |
1278 // print('Setup: ' + (end - start) + ' ms.'); | 1278 // print('Setup: ' + (end - start) + ' ms.'); |
1279 | 1279 |
1280 #invokeMain; // Start main. | 1280 #invokeMain; // Start main. |
1281 | 1281 |
1282 })(Date.now(), #code) | 1282 })(Date.now(), #code) |
1283 }"""; | 1283 }"""; |
1284 | 1284 |
1285 } | 1285 } |
OLD | NEW |