| 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 |
| 48 /// Returns a function that creates a new Isolate (its static state). |
| 49 /// |
| 50 /// (floitsch): Note that this will probably go away, since one JS heap will |
| 51 /// only contain one Dart isolate. |
| 52 const CREATE_NEW_ISOLATE = 'createNewIsolate'; |
| 53 |
| 47 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; | 54 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; |
| 48 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; | 55 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; |
| 49 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; | 56 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; |
| 50 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance"; | 57 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance"; |
| 51 const TYPEDEF_TYPE_PROPERTY_NAME = r"$typedefType"; | 58 const TYPEDEF_TYPE_PROPERTY_NAME = r"$typedefType"; |
| 52 const TYPEDEF_PREDICATE_PROPERTY_NAME = r"$$isTypedef"; | 59 const TYPEDEF_PREDICATE_PROPERTY_NAME = r"$$isTypedef"; |
| 53 const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag"; | 60 const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag"; |
| 54 | 61 |
| 55 /// Returns the type given the name of a class. | 62 /// Returns the type given the name of a class. |
| 56 /// This function is called by the runtime when computing rti. | 63 /// This function is called by the runtime when computing rti. |
| 57 const GET_TYPE_FROM_NAME = 'getTypeFromName'; | 64 const GET_TYPE_FROM_NAME = 'getTypeFromName'; |
| 58 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap"; | 65 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap"; |
| 59 | 66 |
| OLD | NEW |