| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 /// This function is called by the runtime when computing rti. | 68 /// This function is called by the runtime when computing rti. |
| 69 const GET_TYPE_FROM_NAME = 'getTypeFromName'; | 69 const GET_TYPE_FROM_NAME = 'getTypeFromName'; |
| 70 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap"; | 70 const TYPE_TO_INTERCEPTOR_MAP = "typeToInterceptorMap"; |
| 71 | 71 |
| 72 /// Names that are supported by [JS_GET_NAME]. | 72 /// Names that are supported by [JS_GET_NAME]. |
| 73 // TODO(herhut): Make entries lower case (as in fields) and find a better name. | 73 // TODO(herhut): Make entries lower case (as in fields) and find a better name. |
| 74 enum JsGetName { | 74 enum JsGetName { |
| 75 GETTER_PREFIX, | 75 GETTER_PREFIX, |
| 76 SETTER_PREFIX, | 76 SETTER_PREFIX, |
| 77 CALL_PREFIX, | 77 CALL_PREFIX, |
| 78 CALL_PREFIX0, |
| 79 CALL_PREFIX1, |
| 80 CALL_PREFIX2, |
| 81 CALL_PREFIX3, |
| 78 CALL_CATCH_ALL, | 82 CALL_CATCH_ALL, |
| 79 REFLECTABLE, | 83 REFLECTABLE, |
| 80 CLASS_DESCRIPTOR_PROPERTY, | 84 CLASS_DESCRIPTOR_PROPERTY, |
| 81 REQUIRED_PARAMETER_PROPERTY, | 85 REQUIRED_PARAMETER_PROPERTY, |
| 82 DEFAULT_VALUES_PROPERTY, | 86 DEFAULT_VALUES_PROPERTY, |
| 83 CALL_NAME_PROPERTY | 87 CALL_NAME_PROPERTY |
| 84 } | 88 } |
| OLD | NEW |