| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 V(_Double, >, Double_greaterThan, Bool, 0x569b0a81) \ | 149 V(_Double, >, Double_greaterThan, Bool, 0x569b0a81) \ |
| 150 V(_Double, >=, Double_greaterEqualThan, Bool, 0x6c317340) \ | 150 V(_Double, >=, Double_greaterEqualThan, Bool, 0x6c317340) \ |
| 151 V(_Double, <, Double_lessThan, Bool, 0x26dda4bc) \ | 151 V(_Double, <, Double_lessThan, Bool, 0x26dda4bc) \ |
| 152 V(_Double, <=, Double_lessEqualThan, Bool, 0x1e869d20) \ | 152 V(_Double, <=, Double_lessEqualThan, Bool, 0x1e869d20) \ |
| 153 V(_Double, ==, Double_equal, Bool, 0x578a1a51) \ | 153 V(_Double, ==, Double_equal, Bool, 0x578a1a51) \ |
| 154 V(_Double, +, Double_add, Double, 0x4bac5dd5) \ | 154 V(_Double, +, Double_add, Double, 0x4bac5dd5) \ |
| 155 V(_Double, -, Double_sub, Double, 0x62052dbb) \ | 155 V(_Double, -, Double_sub, Double, 0x62052dbb) \ |
| 156 V(_Double, *, Double_mul, Double, 0x23d068d8) \ | 156 V(_Double, *, Double_mul, Double, 0x23d068d8) \ |
| 157 V(_Double, /, Double_div, Double, 0x48bac1dc) \ | 157 V(_Double, /, Double_div, Double, 0x48bac1dc) \ |
| 158 V(_Double, get:isNaN, Double_getIsNaN, Bool, 0x0af8ebeb) \ | 158 V(_Double, get:isNaN, Double_getIsNaN, Bool, 0x0af8ebeb) \ |
| 159 V(_Double, get:isInfinite, Double_getIsInfinite, Bool, 0x0f79e289) \ |
| 159 V(_Double, get:isNegative, Double_getIsNegative, Bool, 0x3a58ff36) \ | 160 V(_Double, get:isNegative, Double_getIsNegative, Bool, 0x3a58ff36) \ |
| 160 V(_Double, _mulFromInteger, Double_mulFromInteger, Double, 0x330e9a36) \ | 161 V(_Double, _mulFromInteger, Double_mulFromInteger, Double, 0x330e9a36) \ |
| 161 V(_Double, .fromInteger, DoubleFromInteger, Double, 0x7ef45843) \ | 162 V(_Double, .fromInteger, DoubleFromInteger, Double, 0x7ef45843) \ |
| 162 V(_List, []=, ObjectArraySetIndexed, Dynamic, 0x34d2c72c) \ | 163 V(_List, []=, ObjectArraySetIndexed, Dynamic, 0x34d2c72c) \ |
| 163 V(_GrowableList, .withData, GrowableArray_Allocate, GrowableObjectArray, \ | 164 V(_GrowableList, .withData, GrowableArray_Allocate, GrowableObjectArray, \ |
| 164 0x25a786de) \ | 165 0x25a786de) \ |
| 165 V(_GrowableList, add, GrowableArray_add, Dynamic, 0x0d1358ed) \ | 166 V(_GrowableList, add, GrowableArray_add, Dynamic, 0x0d1358ed) \ |
| 166 V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, Dynamic, 0x6036d7fa) \ | 167 V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, Dynamic, 0x6036d7fa) \ |
| 167 V(Object, ==, ObjectEquals, Bool, 0x11662ed8) \ | 168 V(Object, ==, ObjectEquals, Bool, 0x11662ed8) \ |
| 168 V(Object, get:runtimeType, ObjectRuntimeType, Type, 0x00e7c26b) \ | 169 V(Object, get:runtimeType, ObjectRuntimeType, Type, 0x00e7c26b) \ |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 // Class that recognizes factories and returns corresponding result cid. | 551 // Class that recognizes factories and returns corresponding result cid. |
| 551 class FactoryRecognizer : public AllStatic { | 552 class FactoryRecognizer : public AllStatic { |
| 552 public: | 553 public: |
| 553 // Return kDynamicCid if factory is not recognized. | 554 // Return kDynamicCid if factory is not recognized. |
| 554 static intptr_t ResultCid(const Function& factory); | 555 static intptr_t ResultCid(const Function& factory); |
| 555 }; | 556 }; |
| 556 | 557 |
| 557 } // namespace dart | 558 } // namespace dart |
| 558 | 559 |
| 559 #endif // VM_METHOD_RECOGNIZER_H_ | 560 #endif // VM_METHOD_RECOGNIZER_H_ |
| OLD | NEW |