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 #ifndef VM_METHOD_RECOGNIZER_H_ | 5 #ifndef VM_METHOD_RECOGNIZER_H_ |
6 #define VM_METHOD_RECOGNIZER_H_ | 6 #define VM_METHOD_RECOGNIZER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 #define GRAPH_INTRINSICS_LIST(V) \ | 301 #define GRAPH_INTRINSICS_LIST(V) \ |
302 GRAPH_CORE_INTRINSICS_LIST(V) \ | 302 GRAPH_CORE_INTRINSICS_LIST(V) \ |
303 GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \ | 303 GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \ |
304 GRAPH_MATH_LIB_INTRINSIC_LIST(V) \ | 304 GRAPH_MATH_LIB_INTRINSIC_LIST(V) \ |
305 | 305 |
306 #define DEVELOPER_LIB_INTRINSIC_LIST(V) \ | 306 #define DEVELOPER_LIB_INTRINSIC_LIST(V) \ |
307 V(_UserTag, makeCurrent, UserTag_makeCurrent, 187721469) \ | 307 V(_UserTag, makeCurrent, UserTag_makeCurrent, 187721469) \ |
308 V(::, _getDefaultTag, UserTag_defaultTag, 350077879) \ | 308 V(::, _getDefaultTag, UserTag_defaultTag, 350077879) \ |
309 V(::, _getCurrentTag, Profiler_getCurrentTag, 1215225901) \ | 309 V(::, _getCurrentTag, Profiler_getCurrentTag, 1215225901) \ |
| 310 V(::, _isDartStreamEnabled, Timeline_isDartStreamEnabled, 1021330202) \ |
310 | 311 |
311 #define ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ | 312 #define ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ |
312 CORE_LIB_INTRINSIC_LIST(V) \ | 313 CORE_LIB_INTRINSIC_LIST(V) \ |
313 DEVELOPER_LIB_INTRINSIC_LIST(V) \ | 314 DEVELOPER_LIB_INTRINSIC_LIST(V) \ |
314 MATH_LIB_INTRINSIC_LIST(V) \ | 315 MATH_LIB_INTRINSIC_LIST(V) \ |
315 TYPED_DATA_LIB_INTRINSIC_LIST(V) \ | 316 TYPED_DATA_LIB_INTRINSIC_LIST(V) \ |
316 | 317 |
317 #define ALL_INTRINSICS_LIST(V) \ | 318 #define ALL_INTRINSICS_LIST(V) \ |
318 ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ | 319 ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ |
319 CORE_INTEGER_LIB_INTRINSIC_LIST(V) | 320 CORE_INTEGER_LIB_INTRINSIC_LIST(V) |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 // Class that recognizes factories and returns corresponding result cid. | 537 // Class that recognizes factories and returns corresponding result cid. |
537 class FactoryRecognizer : public AllStatic { | 538 class FactoryRecognizer : public AllStatic { |
538 public: | 539 public: |
539 // Return kDynamicCid if factory is not recognized. | 540 // Return kDynamicCid if factory is not recognized. |
540 static intptr_t ResultCid(const Function& factory); | 541 static intptr_t ResultCid(const Function& factory); |
541 }; | 542 }; |
542 | 543 |
543 } // namespace dart | 544 } // namespace dart |
544 | 545 |
545 #endif // VM_METHOD_RECOGNIZER_H_ | 546 #endif // VM_METHOD_RECOGNIZER_H_ |
OLD | NEW |