| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 V(_Double, .fromInteger, DoubleFromInteger, 213717920) \ | 181 V(_Double, .fromInteger, DoubleFromInteger, 213717920) \ |
| 182 V(_List, []=, ObjectArraySetIndexed, 527521746) \ | 182 V(_List, []=, ObjectArraySetIndexed, 527521746) \ |
| 183 V(_GrowableList, .withData, GrowableArray_Allocate, 2094352700) \ | 183 V(_GrowableList, .withData, GrowableArray_Allocate, 2094352700) \ |
| 184 V(_GrowableList, add, GrowableArray_add, 1675959698) \ | 184 V(_GrowableList, add, GrowableArray_add, 1675959698) \ |
| 185 V(_JSSyntaxRegExp, _ExecuteMatch, JSRegExp_ExecuteMatch, 1711509198) \ | 185 V(_JSSyntaxRegExp, _ExecuteMatch, JSRegExp_ExecuteMatch, 1711509198) \ |
| 186 V(Object, ==, ObjectEquals, 409406570) \ | 186 V(Object, ==, ObjectEquals, 409406570) \ |
| 187 V(Object, get:runtimeType, ObjectRuntimeType, 2076963579) \ | 187 V(Object, get:runtimeType, ObjectRuntimeType, 2076963579) \ |
| 188 V(_StringBase, get:hashCode, String_getHashCode, 2103025405) \ | 188 V(_StringBase, get:hashCode, String_getHashCode, 2103025405) \ |
| 189 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 780870414) \ | 189 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 780870414) \ |
| 190 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 397735324) \ | 190 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 397735324) \ |
| 191 V(_StringBase, _substringMatches, StringBaseSubstringMatches, 347814979) \ |
| 191 V(_StringBase, [], StringBaseCharAt, 408544820) \ | 192 V(_StringBase, [], StringBaseCharAt, 408544820) \ |
| 192 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1111957093) \ | 193 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1111957093) \ |
| 193 V(_OneByteString, _substringUncheckedNative, \ | 194 V(_OneByteString, _substringUncheckedNative, \ |
| 194 OneByteString_substringUnchecked, 1584757277) \ | 195 OneByteString_substringUnchecked, 1584757277) \ |
| 195 V(_OneByteString, _setAt, OneByteStringSetAt, 1927993207) \ | 196 V(_OneByteString, _setAt, OneByteStringSetAt, 1927993207) \ |
| 196 V(_OneByteString, _allocate, OneByteString_allocate, 1248050114) \ | 197 V(_OneByteString, _allocate, OneByteString_allocate, 1248050114) \ |
| 197 V(_OneByteString, ==, OneByteString_equality, 1151307249) \ | 198 V(_OneByteString, ==, OneByteString_equality, 1151307249) \ |
| 198 V(_TwoByteString, ==, TwoByteString_equality, 375409915) \ | 199 V(_TwoByteString, ==, TwoByteString_equality, 375409915) \ |
| 199 | 200 |
| 200 | 201 |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 // Class that recognizes factories and returns corresponding result cid. | 533 // Class that recognizes factories and returns corresponding result cid. |
| 533 class FactoryRecognizer : public AllStatic { | 534 class FactoryRecognizer : public AllStatic { |
| 534 public: | 535 public: |
| 535 // Return kDynamicCid if factory is not recognized. | 536 // Return kDynamicCid if factory is not recognized. |
| 536 static intptr_t ResultCid(const Function& factory); | 537 static intptr_t ResultCid(const Function& factory); |
| 537 }; | 538 }; |
| 538 | 539 |
| 539 } // namespace dart | 540 } // namespace dart |
| 540 | 541 |
| 541 #endif // VM_METHOD_RECOGNIZER_H_ | 542 #endif // VM_METHOD_RECOGNIZER_H_ |
| OLD | NEW |