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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 V(_Double, -, Double_sub, 685132889) \ | 180 V(_Double, -, Double_sub, 685132889) \ |
181 V(_Double, *, Double_mul, 542254390) \ | 181 V(_Double, *, Double_mul, 542254390) \ |
182 V(_Double, /, Double_div, 1145710768) \ | 182 V(_Double, /, Double_div, 1145710768) \ |
183 V(_Double, get:isNaN, Double_getIsNaN, 184085483) \ | 183 V(_Double, get:isNaN, Double_getIsNaN, 184085483) \ |
184 V(_Double, get:isNegative, Double_getIsNegative, 978911030) \ | 184 V(_Double, get:isNegative, Double_getIsNegative, 978911030) \ |
185 V(_Double, _mulFromInteger, Double_mulFromInteger, 543831179) \ | 185 V(_Double, _mulFromInteger, Double_mulFromInteger, 543831179) \ |
186 V(_Double, .fromInteger, DoubleFromInteger, 1453449234) \ | 186 V(_Double, .fromInteger, DoubleFromInteger, 1453449234) \ |
187 V(_List, []=, ObjectArraySetIndexed, 886228780) \ | 187 V(_List, []=, ObjectArraySetIndexed, 886228780) \ |
188 V(_GrowableList, .withData, GrowableArray_Allocate, 131424500) \ | 188 V(_GrowableList, .withData, GrowableArray_Allocate, 131424500) \ |
189 V(_GrowableList, add, GrowableArray_add, 242296201) \ | 189 V(_GrowableList, add, GrowableArray_add, 242296201) \ |
190 V(_JSSyntaxRegExp, _ExecuteMatch, JSRegExp_ExecuteMatch, 1490503678) \ | 190 V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, 2077783530) \ |
191 V(Object, ==, ObjectEquals, 291909336) \ | 191 V(Object, ==, ObjectEquals, 291909336) \ |
192 V(Object, get:runtimeType, ObjectRuntimeType, 15188587) \ | 192 V(Object, get:runtimeType, ObjectRuntimeType, 15188587) \ |
193 V(_StringBase, get:hashCode, String_getHashCode, 2026040200) \ | 193 V(_StringBase, get:hashCode, String_getHashCode, 2026040200) \ |
194 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1958879178) \ | 194 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1958879178) \ |
195 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1436590579) \ | 195 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1436590579) \ |
196 V(_StringBase, _substringMatches, StringBaseSubstringMatches, 1548648995) \ | 196 V(_StringBase, _substringMatches, StringBaseSubstringMatches, 1548648995) \ |
197 V(_StringBase, [], StringBaseCharAt, 754527301) \ | 197 V(_StringBase, [], StringBaseCharAt, 754527301) \ |
198 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 2026040200) \ | 198 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 2026040200) \ |
199 V(_OneByteString, _substringUncheckedNative, \ | 199 V(_OneByteString, _substringUncheckedNative, \ |
200 OneByteString_substringUnchecked, 2063670029) \ | 200 OneByteString_substringUnchecked, 2063670029) \ |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 // Class that recognizes factories and returns corresponding result cid. | 507 // Class that recognizes factories and returns corresponding result cid. |
508 class FactoryRecognizer : public AllStatic { | 508 class FactoryRecognizer : public AllStatic { |
509 public: | 509 public: |
510 // Return kDynamicCid if factory is not recognized. | 510 // Return kDynamicCid if factory is not recognized. |
511 static intptr_t ResultCid(const Function& factory); | 511 static intptr_t ResultCid(const Function& factory); |
512 }; | 512 }; |
513 | 513 |
514 } // namespace dart | 514 } // namespace dart |
515 | 515 |
516 #endif // VM_METHOD_RECOGNIZER_H_ | 516 #endif // VM_METHOD_RECOGNIZER_H_ |
OLD | NEW |