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 /// |
(...skipping 26 matching lines...) Expand all Loading... |
37 const LAZIES = 'lazies'; | 37 const LAZIES = 'lazies'; |
38 const GET_ISOLATE_TAG = 'getIsolateTag'; | 38 const GET_ISOLATE_TAG = 'getIsolateTag'; |
39 const ISOLATE_TAG = 'isolateTag'; | 39 const ISOLATE_TAG = 'isolateTag'; |
40 const CURRENT_SCRIPT = 'currentScript'; | 40 const CURRENT_SCRIPT = 'currentScript'; |
41 const DEFERRED_LIBRARY_URIS = 'deferredLibraryUris'; | 41 const DEFERRED_LIBRARY_URIS = 'deferredLibraryUris'; |
42 const DEFERRED_LIBRARY_HASHES = 'deferredLibraryHashes'; | 42 const DEFERRED_LIBRARY_HASHES = 'deferredLibraryHashes'; |
43 const INITIALIZE_LOADED_HUNK = 'initializeLoadedHunk'; | 43 const INITIALIZE_LOADED_HUNK = 'initializeLoadedHunk'; |
44 const IS_HUNK_LOADED = 'isHunkLoaded'; | 44 const IS_HUNK_LOADED = 'isHunkLoaded'; |
45 const IS_HUNK_INITIALIZED = 'isHunkInitialized'; | 45 const IS_HUNK_INITIALIZED = 'isHunkInitialized'; |
46 const DEFERRED_INITIALIZED = 'deferredInitialized'; | 46 const DEFERRED_INITIALIZED = 'deferredInitialized'; |
| 47 const PRECOMPILED = 'precompiled'; |
47 | 48 |
48 /// Returns a function that creates a new Isolate (its static state). | 49 /// Returns a function that creates a new Isolate (its static state). |
49 /// | 50 /// |
50 /// (floitsch): Note that this will probably go away, since one JS heap will | 51 /// (floitsch): Note that this will probably go away, since one JS heap will |
51 /// only contain one Dart isolate. | 52 /// only contain one Dart isolate. |
52 const CREATE_NEW_ISOLATE = 'createNewIsolate'; | 53 const CREATE_NEW_ISOLATE = 'createNewIsolate'; |
53 | 54 |
54 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; | 55 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; |
55 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; | 56 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; |
56 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; | 57 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; |
(...skipping 13 matching lines...) Expand all Loading... |
70 GETTER_PREFIX, | 71 GETTER_PREFIX, |
71 SETTER_PREFIX, | 72 SETTER_PREFIX, |
72 CALL_PREFIX, | 73 CALL_PREFIX, |
73 CALL_CATCH_ALL, | 74 CALL_CATCH_ALL, |
74 REFLECTABLE, | 75 REFLECTABLE, |
75 CLASS_DESCRIPTOR_PROPERTY, | 76 CLASS_DESCRIPTOR_PROPERTY, |
76 REQUIRED_PARAMETER_PROPERTY, | 77 REQUIRED_PARAMETER_PROPERTY, |
77 DEFAULT_VALUES_PROPERTY, | 78 DEFAULT_VALUES_PROPERTY, |
78 CALL_NAME_PROPERTY | 79 CALL_NAME_PROPERTY |
79 } | 80 } |
OLD | NEW |