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 RUNTIME_VM_METHOD_RECOGNIZER_H_ | 5 #ifndef RUNTIME_VM_METHOD_RECOGNIZER_H_ |
6 #define RUNTIME_VM_METHOD_RECOGNIZER_H_ | 6 #define RUNTIME_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 29 matching lines...) Expand all Loading... |
40 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x5a11a2f9) \ | 40 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x5a11a2f9) \ |
41 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x0edea58b) \ | 41 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x0edea58b) \ |
42 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x163bc6cc) \ | 42 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x163bc6cc) \ |
43 V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x5def39d2) \ | 43 V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x5def39d2) \ |
44 V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x084d9f1a) \ | 44 V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x084d9f1a) \ |
45 V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x0d8f57ab) \ | 45 V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x0d8f57ab) \ |
46 V(_Double, _add, DoubleAdd, Double, 0x2a38277b) \ | 46 V(_Double, _add, DoubleAdd, Double, 0x2a38277b) \ |
47 V(_Double, _sub, DoubleSub, Double, 0x4f466391) \ | 47 V(_Double, _sub, DoubleSub, Double, 0x4f466391) \ |
48 V(_Double, _mul, DoubleMul, Double, 0x175e4f66) \ | 48 V(_Double, _mul, DoubleMul, Double, 0x175e4f66) \ |
49 V(_Double, _div, DoubleDiv, Double, 0x0854181b) \ | 49 V(_Double, _div, DoubleDiv, Double, 0x0854181b) \ |
50 V(::, min, MathMin, Dynamic, 0x4276561c) \ | 50 V(::, min, MathMin, Dynamic, 0x0bee5d52) \ |
51 V(::, max, MathMax, Dynamic, 0x54121d6a) \ | 51 V(::, max, MathMax, Dynamic, 0x4f51acb6) \ |
52 V(::, _doublePow, MathDoublePow, Double, 0x01d7b09e) \ | 52 V(::, _doublePow, MathDoublePow, Double, 0x01d7b09e) \ |
53 V(Float32x4, Float32x4., Float32x4Constructor, Float32x4, 0x05968999) \ | 53 V(Float32x4, Float32x4., Float32x4Constructor, Float32x4, 0x05968999) \ |
54 V(Float32x4, Float32x4.zero, Float32x4Zero, Float32x4, 0x472a4c46) \ | 54 V(Float32x4, Float32x4.zero, Float32x4Zero, Float32x4, 0x472a4c46) \ |
55 V(Float32x4, Float32x4.splat, Float32x4Splat, Float32x4, 0x00bba1a5) \ | 55 V(Float32x4, Float32x4.splat, Float32x4Splat, Float32x4, 0x00bba1a5) \ |
56 V(Float32x4, Float32x4.fromInt32x4Bits, Float32x4FromInt32x4Bits, Float32x4, \ | 56 V(Float32x4, Float32x4.fromInt32x4Bits, Float32x4FromInt32x4Bits, Float32x4, \ |
57 0x46d00995) \ | 57 0x46d00995) \ |
58 V(Float32x4, Float32x4.fromFloat64x2, Float32x4FromFloat64x2, Float32x4, \ | 58 V(Float32x4, Float32x4.fromFloat64x2, Float32x4FromFloat64x2, Float32x4, \ |
59 0x685a86d2) \ | 59 0x685a86d2) \ |
60 V(_Float32x4, shuffle, Float32x4Shuffle, Float32x4, 0x7829101f) \ | 60 V(_Float32x4, shuffle, Float32x4Shuffle, Float32x4, 0x7829101f) \ |
61 V(_Float32x4, shuffleMix, Float32x4ShuffleMix, Float32x4, 0x4182c06b) \ | 61 V(_Float32x4, shuffleMix, Float32x4ShuffleMix, Float32x4, 0x4182c06b) \ |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 V(_ByteDataView, getInt16, ByteDataViewGetInt16, 0x73e0175b) \ | 402 V(_ByteDataView, getInt16, ByteDataViewGetInt16, 0x73e0175b) \ |
403 V(_ByteDataView, getUint16, ByteDataViewGetUint16, 0x3691576a) \ | 403 V(_ByteDataView, getUint16, ByteDataViewGetUint16, 0x3691576a) \ |
404 V(_ByteDataView, getInt32, ByteDataViewGetInt32, 0x44d407a8) \ | 404 V(_ByteDataView, getInt32, ByteDataViewGetInt32, 0x44d407a8) \ |
405 V(_ByteDataView, getUint32, ByteDataViewGetUint32, 0x160c7450) \ | 405 V(_ByteDataView, getUint32, ByteDataViewGetUint32, 0x160c7450) \ |
406 V(_ByteDataView, getInt64, ByteDataViewGetInt64, 0x02a2ffca) \ | 406 V(_ByteDataView, getInt64, ByteDataViewGetInt64, 0x02a2ffca) \ |
407 V(_ByteDataView, getUint64, ByteDataViewGetUint64, 0x4dd4eedd) \ | 407 V(_ByteDataView, getUint64, ByteDataViewGetUint64, 0x4dd4eedd) \ |
408 V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 0x474b4719) \ | 408 V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 0x474b4719) \ |
409 V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 0x47207cf7) \ | 409 V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 0x47207cf7) \ |
410 V(::, exp, MathExp, 0x4ccba23a) \ | 410 V(::, exp, MathExp, 0x4ccba23a) \ |
411 V(::, log, MathLog, 0x3908fd3c) \ | 411 V(::, log, MathLog, 0x3908fd3c) \ |
412 V(::, max, MathMax, 0x54121d6a) \ | 412 V(::, max, MathMax, 0x4f51acb6) \ |
413 V(::, min, MathMin, 0x4276561c) \ | 413 V(::, min, MathMin, 0x0bee5d52) \ |
414 V(::, pow, MathPow, 0x443379a8) \ | 414 V(::, pow, MathPow, 0x443379a8) \ |
415 V(::, _classRangeCheck, ClassRangeCheck, 0x025e8d82) \ | 415 V(::, _classRangeCheck, ClassRangeCheck, 0x025e8d82) \ |
416 V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x32451d73) \ | 416 V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x32451d73) \ |
417 V(Lists, copy, ListsCopy, 0x21a194fa) \ | 417 V(Lists, copy, ListsCopy, 0x21a194fa) \ |
418 V(_Bigint, get:_neg, Bigint_getNeg, 0x355fa565) \ | 418 V(_Bigint, get:_neg, Bigint_getNeg, 0x355fa565) \ |
419 V(_Bigint, get:_used, Bigint_getUsed, 0x33b9dcd2) \ | 419 V(_Bigint, get:_used, Bigint_getUsed, 0x33b9dcd2) \ |
420 V(_Bigint, get:_digits, Bigint_getDigits, 0x68de883a) \ | 420 V(_Bigint, get:_digits, Bigint_getDigits, 0x68de883a) \ |
421 V(_HashVMBase, get:_index, LinkedHashMap_getIndex, 0x02468899) \ | 421 V(_HashVMBase, get:_index, LinkedHashMap_getIndex, 0x02468899) \ |
422 V(_HashVMBase, set:_index, LinkedHashMap_setIndex, 0x577d9e20) \ | 422 V(_HashVMBase, set:_index, LinkedHashMap_setIndex, 0x577d9e20) \ |
423 V(_HashVMBase, get:_data, LinkedHashMap_getData, 0x2d7987ee) \ | 423 V(_HashVMBase, get:_data, LinkedHashMap_getData, 0x2d7987ee) \ |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 // Class that recognizes factories and returns corresponding result cid. | 570 // Class that recognizes factories and returns corresponding result cid. |
571 class FactoryRecognizer : public AllStatic { | 571 class FactoryRecognizer : public AllStatic { |
572 public: | 572 public: |
573 // Return kDynamicCid if factory is not recognized. | 573 // Return kDynamicCid if factory is not recognized. |
574 static intptr_t ResultCid(const Function& factory); | 574 static intptr_t ResultCid(const Function& factory); |
575 }; | 575 }; |
576 | 576 |
577 } // namespace dart | 577 } // namespace dart |
578 | 578 |
579 #endif // RUNTIME_VM_METHOD_RECOGNIZER_H_ | 579 #endif // RUNTIME_VM_METHOD_RECOGNIZER_H_ |
OLD | NEW |