| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 V(_Double, <=, Double_lessEqualThan, 106225572) \ | 158 V(_Double, <=, Double_lessEqualThan, 106225572) \ |
| 159 V(_Double, ==, Double_equal, 2093918133) \ | 159 V(_Double, ==, Double_equal, 2093918133) \ |
| 160 V(_Double, +, Double_add, 1646350451) \ | 160 V(_Double, +, Double_add, 1646350451) \ |
| 161 V(_Double, -, Double_sub, 1477459276) \ | 161 V(_Double, -, Double_sub, 1477459276) \ |
| 162 V(_Double, *, Double_mul, 1334580777) \ | 162 V(_Double, *, Double_mul, 1334580777) \ |
| 163 V(_Double, /, Double_div, 1938037155) \ | 163 V(_Double, /, Double_div, 1938037155) \ |
| 164 V(_Double, get:isNaN, Double_getIsNaN, 843050033) \ | 164 V(_Double, get:isNaN, Double_getIsNaN, 843050033) \ |
| 165 V(_Double, get:isNegative, Double_getIsNegative, 1637875580) \ | 165 V(_Double, get:isNegative, Double_getIsNegative, 1637875580) \ |
| 166 V(_Double, _mulFromInteger, Double_mulFromInteger, 1594796483) \ | 166 V(_Double, _mulFromInteger, Double_mulFromInteger, 1594796483) \ |
| 167 V(_Double, .fromInteger, Double_fromInteger, 999771940) \ | 167 V(_Double, .fromInteger, Double_fromInteger, 999771940) \ |
| 168 V(_List, ., ObjectArrayAllocate, 1595327584) \ |
| 168 V(_List, get:length, ObjectArrayLength, 1181352729) \ | 169 V(_List, get:length, ObjectArrayLength, 1181352729) \ |
| 169 V(_List, [], ObjectArrayGetIndexed, 795612476) \ | 170 V(_List, [], ObjectArrayGetIndexed, 795612476) \ |
| 170 V(_List, []=, ObjectArraySetIndexed, 1288827575) \ | 171 V(_List, []=, ObjectArraySetIndexed, 1288827575) \ |
| 171 V(_GrowableList, .withData, GrowableArray_Allocate, 732923072) \ | 172 V(_GrowableList, .withData, GrowableArray_Allocate, 732923072) \ |
| 172 V(_GrowableList, get:length, GrowableArrayLength, 778505107) \ | 173 V(_GrowableList, get:length, GrowableArrayLength, 778505107) \ |
| 173 V(_GrowableList, get:_capacity, GrowableArrayCapacity, 555140075) \ | 174 V(_GrowableList, get:_capacity, GrowableArrayCapacity, 555140075) \ |
| 174 V(_GrowableList, [], GrowableArrayGetIndexed, 919108233) \ | 175 V(_GrowableList, [], GrowableArrayGetIndexed, 919108233) \ |
| 175 V(_GrowableList, []=, GrowableArraySetIndexed, 1218649853) \ | 176 V(_GrowableList, []=, GrowableArraySetIndexed, 1218649853) \ |
| 176 V(_GrowableList, _setLength, GrowableArraySetLength, 89389299) \ | 177 V(_GrowableList, _setLength, GrowableArraySetLength, 89389299) \ |
| 177 V(_GrowableList, _setData, GrowableArraySetData, 2126927509) \ | 178 V(_GrowableList, _setData, GrowableArraySetData, 2126927509) \ |
| 178 V(_GrowableList, add, GrowableArray_add, 1899133961) \ | 179 V(_GrowableList, add, GrowableArray_add, 1899133961) \ |
| 179 V(_ImmutableList, [], ImmutableArrayGetIndexed, 1990177341) \ | 180 V(_ImmutableList, [], ImmutableArrayGetIndexed, 1990177341) \ |
| 180 V(_ImmutableList, get:length, ImmutableArrayLength, 274917727) \ | 181 V(_ImmutableList, get:length, ImmutableArrayLength, 274917727) \ |
| 181 V(Object, ==, ObjectEquals, 1068471689) \ | 182 V(Object, ==, ObjectEquals, 1068471689) \ |
| 182 V(_StringBase, get:hashCode, String_getHashCode, 2102906241) \ | 183 V(_StringBase, get:hashCode, String_getHashCode, 2102906241) \ |
| 183 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 49873871) \ | 184 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 49873871) \ |
| 184 V(_StringBase, get:length, StringBaseLength, 784399628) \ | 185 V(_StringBase, get:length, StringBaseLength, 784399628) \ |
| 185 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 397735324) \ | 186 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 397735324) \ |
| 187 V(_StringBase, [], StringBase_charAt, 1512210677) \ |
| 186 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1111837929) \ | 188 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1111837929) \ |
| 187 V(_OneByteString, _substringUncheckedNative, \ | 189 V(_OneByteString, _substringUncheckedNative, \ |
| 188 OneByteString_substringUnchecked, 1527498975) \ | 190 OneByteString_substringUnchecked, 1527498975) \ |
| 189 V(_OneByteString, _setAt, OneByteStringSetAt, 468605749) \ | 191 V(_OneByteString, _setAt, OneByteStringSetAt, 468605749) \ |
| 190 V(_OneByteString, _allocate, OneByteString_allocate, 2035417022) \ | 192 V(_OneByteString, _allocate, OneByteString_allocate, 2035417022) \ |
| 191 V(_OneByteString, ==, OneByteString_equality, 1727047023) \ | 193 V(_OneByteString, ==, OneByteString_equality, 1727047023) \ |
| 192 V(_TwoByteString, ==, TwoByteString_equality, 951149689) \ | 194 V(_TwoByteString, ==, TwoByteString_equality, 951149689) \ |
| 193 | 195 |
| 194 | 196 |
| 195 #define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \ | 197 #define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \ |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 static Kind RecognizeKind(const Function& function); | 385 static Kind RecognizeKind(const Function& function); |
| 384 static bool AlwaysInline(const Function& function); | 386 static bool AlwaysInline(const Function& function); |
| 385 static bool PolymorphicTarget(const Function& function); | 387 static bool PolymorphicTarget(const Function& function); |
| 386 static const char* KindToCString(Kind kind); | 388 static const char* KindToCString(Kind kind); |
| 387 static void InitializeState(); | 389 static void InitializeState(); |
| 388 }; | 390 }; |
| 389 | 391 |
| 390 } // namespace dart | 392 } // namespace dart |
| 391 | 393 |
| 392 #endif // VM_METHOD_RECOGNIZER_H_ | 394 #endif // VM_METHOD_RECOGNIZER_H_ |
| OLD | NEW |