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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 V(_GrowableList, _setData, GrowableArraySetData, 1722254196) \ | 286 V(_GrowableList, _setData, GrowableArraySetData, 1722254196) \ |
287 V(_GrowableList, _setLength, GrowableArraySetLength, 1832199634) \ | 287 V(_GrowableList, _setLength, GrowableArraySetLength, 1832199634) \ |
288 V(_GrowableList, [], GrowableArrayGetIndexed, 514434920) \ | 288 V(_GrowableList, [], GrowableArrayGetIndexed, 514434920) \ |
289 V(_GrowableList, []=, GrowableArraySetIndexed, 1698264861) \ | 289 V(_GrowableList, []=, GrowableArraySetIndexed, 1698264861) \ |
290 V(_StringBase, get:length, StringBaseLength, 784429419) \ | 290 V(_StringBase, get:length, StringBaseLength, 784429419) \ |
291 | 291 |
292 #define GRAPH_INTRINSICS_LIST(V) \ | 292 #define GRAPH_INTRINSICS_LIST(V) \ |
293 GRAPH_CORE_INTRINSICS_LIST(V) \ | 293 GRAPH_CORE_INTRINSICS_LIST(V) \ |
294 GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \ | 294 GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \ |
295 | 295 |
296 #define DEVELOPER_LIB_INTRINSIC_LIST(V) \ | 296 #define PROFILER_LIB_INTRINSIC_LIST(V) \ |
297 V(_UserTag, makeCurrent, UserTag_makeCurrent, 788201614) \ | 297 V(_UserTag, makeCurrent, UserTag_makeCurrent, 370414636) \ |
298 V(::, _getDefaultTag, UserTag_defaultTag, 1080704381) \ | 298 V(::, _getDefaultTag, UserTag_defaultTag, 1159885970) \ |
299 V(::, _getCurrentTag, Profiler_getCurrentTag, 2048029229) \ | 299 V(::, _getCurrentTag, Profiler_getCurrentTag, 1182126114) \ |
300 | 300 |
301 #define ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ | 301 #define ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ |
302 CORE_LIB_INTRINSIC_LIST(V) \ | 302 CORE_LIB_INTRINSIC_LIST(V) \ |
303 DEVELOPER_LIB_INTRINSIC_LIST(V) \ | |
304 MATH_LIB_INTRINSIC_LIST(V) \ | 303 MATH_LIB_INTRINSIC_LIST(V) \ |
305 TYPED_DATA_LIB_INTRINSIC_LIST(V) \ | 304 TYPED_DATA_LIB_INTRINSIC_LIST(V) \ |
306 | 305 PROFILER_LIB_INTRINSIC_LIST(V) |
307 | 306 |
308 #define ALL_INTRINSICS_LIST(V) \ | 307 #define ALL_INTRINSICS_LIST(V) \ |
309 ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ | 308 ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \ |
310 CORE_INTEGER_LIB_INTRINSIC_LIST(V) | 309 CORE_INTEGER_LIB_INTRINSIC_LIST(V) |
311 | 310 |
312 #define RECOGNIZED_LIST(V) \ | 311 #define RECOGNIZED_LIST(V) \ |
313 OTHER_RECOGNIZED_LIST(V) \ | 312 OTHER_RECOGNIZED_LIST(V) \ |
314 ALL_INTRINSICS_LIST(V) \ | 313 ALL_INTRINSICS_LIST(V) \ |
315 GRAPH_INTRINSICS_LIST(V) | 314 GRAPH_INTRINSICS_LIST(V) |
316 | 315 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) | 466 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) |
468 | 467 |
469 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ | 468 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ |
470 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) | 469 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) |
471 #endif // defined(DART_NO_SNAPSHOT). | 470 #endif // defined(DART_NO_SNAPSHOT). |
472 | 471 |
473 | 472 |
474 } // namespace dart | 473 } // namespace dart |
475 | 474 |
476 #endif // VM_METHOD_RECOGNIZER_H_ | 475 #endif // VM_METHOD_RECOGNIZER_H_ |
OLD | NEW |