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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 V(_Double, >=, Double_greaterEqualThan, 1815180096) \ | 161 V(_Double, >=, Double_greaterEqualThan, 1815180096) \ |
162 V(_Double, <, Double_lessThan, 652059836) \ | 162 V(_Double, <, Double_lessThan, 652059836) \ |
163 V(_Double, <=, Double_lessEqualThan, 512138528) \ | 163 V(_Double, <=, Double_lessEqualThan, 512138528) \ |
164 V(_Double, ==, Double_equal, 1468668497) \ | 164 V(_Double, ==, Double_equal, 1468668497) \ |
165 V(_Double, +, Double_add, 1269587413) \ | 165 V(_Double, +, Double_add, 1269587413) \ |
166 V(_Double, -, Double_sub, 1644506555) \ | 166 V(_Double, -, Double_sub, 1644506555) \ |
167 V(_Double, *, Double_mul, 600860888) \ | 167 V(_Double, *, Double_mul, 600860888) \ |
168 V(_Double, /, Double_div, 1220198876) \ | 168 V(_Double, /, Double_div, 1220198876) \ |
169 V(_Double, get:isNaN, Double_getIsNaN, 184085483) \ | 169 V(_Double, get:isNaN, Double_getIsNaN, 184085483) \ |
170 V(_Double, get:isNegative, Double_getIsNegative, 978911030) \ | 170 V(_Double, get:isNegative, Double_getIsNegative, 978911030) \ |
171 V(_Double, _mulFromInteger, Double_mulFromInteger, 1893886883) \ | 171 V(_Double, _mulFromInteger, Double_mulFromInteger, 856594998) \ |
172 V(_Double, .fromInteger, DoubleFromInteger, 2129942595) \ | 172 V(_Double, .fromInteger, DoubleFromInteger, 2129942595) \ |
173 V(_List, []=, ObjectArraySetIndexed, 886228780) \ | 173 V(_List, []=, ObjectArraySetIndexed, 886228780) \ |
174 V(_GrowableList, .withData, GrowableArray_Allocate, 631736030) \ | 174 V(_GrowableList, .withData, GrowableArray_Allocate, 631736030) \ |
175 V(_GrowableList, add, GrowableArray_add, 219371757) \ | 175 V(_GrowableList, add, GrowableArray_add, 219371757) \ |
176 V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, 1614206970) \ | 176 V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, 1614206970) \ |
177 V(Object, ==, ObjectEquals, 291909336) \ | 177 V(Object, ==, ObjectEquals, 291909336) \ |
178 V(Object, get:runtimeType, ObjectRuntimeType, 15188587) \ | 178 V(Object, get:runtimeType, ObjectRuntimeType, 15188587) \ |
179 V(_StringBase, get:hashCode, String_getHashCode, 2026040200) \ | 179 V(_StringBase, get:hashCode, String_getHashCode, 2026040200) \ |
180 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1958879178) \ | 180 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1958879178) \ |
181 V(_StringBase, _substringMatches, StringBaseSubstringMatches, 797253099) \ | 181 V(_StringBase, _substringMatches, StringBaseSubstringMatches, 797253099) \ |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 // Class that recognizes factories and returns corresponding result cid. | 536 // Class that recognizes factories and returns corresponding result cid. |
537 class FactoryRecognizer : public AllStatic { | 537 class FactoryRecognizer : public AllStatic { |
538 public: | 538 public: |
539 // Return kDynamicCid if factory is not recognized. | 539 // Return kDynamicCid if factory is not recognized. |
540 static intptr_t ResultCid(const Function& factory); | 540 static intptr_t ResultCid(const Function& factory); |
541 }; | 541 }; |
542 | 542 |
543 } // namespace dart | 543 } // namespace dart |
544 | 544 |
545 #endif // VM_METHOD_RECOGNIZER_H_ | 545 #endif // VM_METHOD_RECOGNIZER_H_ |
OLD | NEW |