| 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 /// Contains the names of globals that are embedded into the output by the | 5 /// Contains the names of globals that are embedded into the output by the |
| 6 /// compiler. | 6 /// compiler. |
| 7 /// | 7 /// |
| 8 /// Variables embedded this way should be access with `JS_EMBEDDED_GLOBAL` from | 8 /// Variables embedded this way should be access with `JS_EMBEDDED_GLOBAL` from |
| 9 /// the `_foreign_helper` library. | 9 /// the `_foreign_helper` library. |
| 10 /// | 10 /// |
| 11 /// This library is shared between the compiler and the runtime system. | 11 /// This library is shared between the compiler and the runtime system. |
| 12 library dart2js._embedded_names; | 12 library dart2js._embedded_names; |
| 13 | 13 |
| 14 const DISPATCH_PROPERTY_NAME = "dispatchPropertyName"; | 14 const DISPATCH_PROPERTY_NAME = "dispatchPropertyName"; |
| 15 const TYPE_INFORMATION = 'typeInformation'; | 15 const TYPE_INFORMATION = 'typeInformation'; |
| 16 const GLOBAL_FUNCTIONS = 'globalFunctions'; | 16 const GLOBAL_FUNCTIONS = 'globalFunctions'; |
| 17 const STATICS = 'statics'; | 17 const STATICS = 'statics'; |
| 18 const INTERCEPTED_NAMES = 'interceptedNames'; | 18 const INTERCEPTED_NAMES = 'interceptedNames'; |
| 19 const MANGLED_GLOBAL_NAMES = 'mangledGlobalNames'; | 19 const MANGLED_GLOBAL_NAMES = 'mangledGlobalNames'; |
| 20 const MANGLED_NAMES = 'mangledNames'; | 20 const MANGLED_NAMES = 'mangledNames'; |
| 21 const LIBRARIES = 'libraries'; | 21 const LIBRARIES = 'libraries'; |
| 22 const FINISHED_CLASSES = 'finishedClasses'; |
| 22 const ALL_CLASSES = 'allClasses'; | 23 const ALL_CLASSES = 'allClasses'; |
| 23 const METADATA = 'metadata'; | 24 const METADATA = 'metadata'; |
| 24 const INTERCEPTORS_BY_TAG = 'interceptorsByTag'; | 25 const INTERCEPTORS_BY_TAG = 'interceptorsByTag'; |
| 25 const LEAF_TAGS = 'leafTags'; | 26 const LEAF_TAGS = 'leafTags'; |
| 26 const LAZIES = 'lazies'; | 27 const LAZIES = 'lazies'; |
| 27 const GET_ISOLATE_TAG = 'getIsolateTag'; | 28 const GET_ISOLATE_TAG = 'getIsolateTag'; |
| 28 const ISOLATE_TAG = 'isolateTag'; | 29 const ISOLATE_TAG = 'isolateTag'; |
| 29 const CURRENT_SCRIPT = 'currentScript'; | 30 const CURRENT_SCRIPT = 'currentScript'; |
| 30 const DEFERRED_LIBRARY_URIS = 'deferredLibraryUris'; | 31 const DEFERRED_LIBRARY_URIS = 'deferredLibraryUris'; |
| 31 const DEFERRED_LIBRARY_HASHES = 'deferredLibraryHashes'; | 32 const DEFERRED_LIBRARY_HASHES = 'deferredLibraryHashes'; |
| 32 const INITIALIZE_LOADED_HUNK = 'initializeLoadedHunk'; | 33 const INITIALIZE_LOADED_HUNK = 'initializeLoadedHunk'; |
| 33 const IS_HUNK_LOADED = 'isHunkLoaded'; | 34 const IS_HUNK_LOADED = 'isHunkLoaded'; |
| OLD | NEW |