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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 /// only contain one Dart isolate. | 51 /// only contain one Dart isolate. |
52 const CREATE_NEW_ISOLATE = 'createNewIsolate'; | 52 const CREATE_NEW_ISOLATE = 'createNewIsolate'; |
53 | 53 |
54 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; | 54 const CLASS_ID_EXTRACTOR = 'classIdExtractor'; |
55 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; | 55 const CLASS_FIELDS_EXTRACTOR = 'classFieldsExtractor'; |
56 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; | 56 const INSTANCE_FROM_CLASS_ID = "instanceFromClassId"; |
57 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance"; | 57 const INITIALIZE_EMPTY_INSTANCE = "initializeEmptyInstance"; |
58 const TYPEDEF_TYPE_PROPERTY_NAME = r"$typedefType"; | 58 const TYPEDEF_TYPE_PROPERTY_NAME = r"$typedefType"; |
59 const TYPEDEF_PREDICATE_PROPERTY_NAME = r"$$isTypedef"; | 59 const TYPEDEF_PREDICATE_PROPERTY_NAME = r"$$isTypedef"; |
60 const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag"; | 60 const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag"; |
| 61 const ARGUMENT_COUNT_PROPERTY = r"$argumentCount"; |
| 62 const DEFAULT_VALUES_PROPERTY = r"$defaultValues"; |
61 | 63 |
62 /// Returns the type given the name of a class. | 64 /// Returns the type given the name of a class. |
63 /// This function is called by the runtime when computing rti. | 65 /// This function is called by the runtime when computing rti. |
64 const GET_TYPE_FROM_NAME = 'getTypeFromName'; | 66 const GET_TYPE_FROM_NAME = 'getTypeFromName'; |
65 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap"; | 67 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap"; |
66 | 68 |
OLD | NEW |