| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 V(_Double, +, Double_add, 655662995) \ | 172 V(_Double, +, Double_add, 655662995) \ |
| 173 V(_Double, -, Double_sub, 486771820) \ | 173 V(_Double, -, Double_sub, 486771820) \ |
| 174 V(_Double, *, Double_mul, 343893321) \ | 174 V(_Double, *, Double_mul, 343893321) \ |
| 175 V(_Double, /, Double_div, 947349699) \ | 175 V(_Double, /, Double_div, 947349699) \ |
| 176 V(_Double, get:isNaN, Double_getIsNaN, 843079824) \ | 176 V(_Double, get:isNaN, Double_getIsNaN, 843079824) \ |
| 177 V(_Double, get:isNegative, Double_getIsNegative, 1637905371) \ | 177 V(_Double, get:isNegative, Double_getIsNegative, 1637905371) \ |
| 178 V(_Double, _mulFromInteger, Double_mulFromInteger, 1748815298) \ | 178 V(_Double, _mulFromInteger, Double_mulFromInteger, 1748815298) \ |
| 179 V(_Double, .fromInteger, DoubleFromInteger, 803258435) \ | 179 V(_Double, .fromInteger, DoubleFromInteger, 803258435) \ |
| 180 V(_List, []=, ObjectArraySetIndexed, 1768442583) \ | 180 V(_List, []=, ObjectArraySetIndexed, 1768442583) \ |
| 181 V(_GrowableList, .withData, GrowableArray_Allocate, 536409567) \ | 181 V(_GrowableList, .withData, GrowableArray_Allocate, 536409567) \ |
| 182 V(_GrowableList, [], GrowableArrayGetIndexed, 514434920) \ | |
| 183 V(_GrowableList, []=, GrowableArraySetIndexed, 1698264861) \ | |
| 184 V(_GrowableList, _setLength, GrowableArraySetLength, 1832199634) \ | |
| 185 V(_GrowableList, _setData, GrowableArraySetData, 1722254196) \ | |
| 186 V(_GrowableList, add, GrowableArray_add, 422087403) \ | 182 V(_GrowableList, add, GrowableArray_add, 422087403) \ |
| 187 V(_JSSyntaxRegExp, _ExecuteMatch, JSRegExp_ExecuteMatch, 1654250896) \ | 183 V(_JSSyntaxRegExp, _ExecuteMatch, JSRegExp_ExecuteMatch, 1654250896) \ |
| 188 V(Object, ==, ObjectEquals, 1955975370) \ | 184 V(Object, ==, ObjectEquals, 1955975370) \ |
| 189 V(_StringBase, get:hashCode, String_getHashCode, 2102936032) \ | 185 V(_StringBase, get:hashCode, String_getHashCode, 2102936032) \ |
| 190 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 769493198) \ | 186 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 769493198) \ |
| 191 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 397735324) \ | 187 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 397735324) \ |
| 192 V(_StringBase, [], StringBaseCharAt, 1107537364) \ | 188 V(_StringBase, [], StringBaseCharAt, 1107537364) \ |
| 193 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1111867720) \ | 189 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1111867720) \ |
| 194 V(_OneByteString, _substringUncheckedNative, \ | 190 V(_OneByteString, _substringUncheckedNative, \ |
| 195 OneByteString_substringUnchecked, 1527498975) \ | 191 OneByteString_substringUnchecked, 1527498975) \ |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 V(_Float64Array, [], Float64ArrayGetIndexed, 1330768796) \ | 277 V(_Float64Array, [], Float64ArrayGetIndexed, 1330768796) \ |
| 282 V(_TypedList, get:length, TypedDataLength, 522595148) \ | 278 V(_TypedList, get:length, TypedDataLength, 522595148) \ |
| 283 | 279 |
| 284 #define GRAPH_CORE_INTRINSICS_LIST(V) \ | 280 #define GRAPH_CORE_INTRINSICS_LIST(V) \ |
| 285 V(_List, get:length, ObjectArrayLength, 1181382520) \ | 281 V(_List, get:length, ObjectArrayLength, 1181382520) \ |
| 286 V(_List, [], ObjectArrayGetIndexed, 390939163) \ | 282 V(_List, [], ObjectArrayGetIndexed, 390939163) \ |
| 287 V(_ImmutableList, get:length, ImmutableArrayLength, 274947518) \ | 283 V(_ImmutableList, get:length, ImmutableArrayLength, 274947518) \ |
| 288 V(_ImmutableList, [], ImmutableArrayGetIndexed, 1585504028) \ | 284 V(_ImmutableList, [], ImmutableArrayGetIndexed, 1585504028) \ |
| 289 V(_GrowableList, get:length, GrowableArrayLength, 778534898) \ | 285 V(_GrowableList, get:length, GrowableArrayLength, 778534898) \ |
| 290 V(_GrowableList, get:_capacity, GrowableArrayCapacity, 555169866) \ | 286 V(_GrowableList, get:_capacity, GrowableArrayCapacity, 555169866) \ |
| 287 V(_GrowableList, _setData, GrowableArraySetData, 1722254196) \ |
| 288 V(_GrowableList, _setLength, GrowableArraySetLength, 1832199634) \ |
| 289 V(_GrowableList, [], GrowableArrayGetIndexed, 514434920) \ |
| 290 V(_GrowableList, []=, GrowableArraySetIndexed, 1698264861) \ |
| 291 V(_StringBase, get:length, StringBaseLength, 784429419) \ | 291 V(_StringBase, get:length, StringBaseLength, 784429419) \ |
| 292 | 292 |
| 293 #define GRAPH_INTRINSICS_LIST(V) \ | 293 #define GRAPH_INTRINSICS_LIST(V) \ |
| 294 GRAPH_CORE_INTRINSICS_LIST(V) \ | 294 GRAPH_CORE_INTRINSICS_LIST(V) \ |
| 295 GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \ | 295 GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \ |
| 296 | 296 |
| 297 #define PROFILER_LIB_INTRINSIC_LIST(V) \ | 297 #define PROFILER_LIB_INTRINSIC_LIST(V) \ |
| 298 V(_UserTag, makeCurrent, UserTag_makeCurrent, 370414636) \ | 298 V(_UserTag, makeCurrent, UserTag_makeCurrent, 370414636) \ |
| 299 V(::, _getDefaultTag, UserTag_defaultTag, 1159885970) \ | 299 V(::, _getDefaultTag, UserTag_defaultTag, 1159885970) \ |
| 300 V(::, _getCurrentTag, Profiler_getCurrentTag, 1182126114) \ | 300 V(::, _getCurrentTag, Profiler_getCurrentTag, 1182126114) \ |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \ | 464 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \ |
| 465 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) | 465 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) |
| 466 | 466 |
| 467 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ | 467 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ |
| 468 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) | 468 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) |
| 469 | 469 |
| 470 | 470 |
| 471 } // namespace dart | 471 } // namespace dart |
| 472 | 472 |
| 473 #endif // VM_METHOD_RECOGNIZER_H_ | 473 #endif // VM_METHOD_RECOGNIZER_H_ |
| OLD | NEW |