Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: runtime/vm/method_recognizer.h

Issue 2529393002: Make core libraries use generic method syntax. (Closed)
Patch Set: Change chunked conversion back. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
40 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x6e72f2a4) \ 40 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x6e72f2a4) \
41 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x4765edda) \ 41 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x4765edda) \
42 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x7cca4533) \ 42 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x7cca4533) \
43 V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x7631bdbc) \ 43 V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x7631bdbc) \
44 V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x6f98eb49) \ 44 V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x6f98eb49) \
45 V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x2f409861) \ 45 V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x2f409861) \
46 V(_Double, _add, DoubleAdd, Double, 0x0021c560) \ 46 V(_Double, _add, DoubleAdd, Double, 0x0021c560) \
47 V(_Double, _sub, DoubleSub, Double, 0x419b3c66) \ 47 V(_Double, _sub, DoubleSub, Double, 0x419b3c66) \
48 V(_Double, _mul, DoubleMul, Double, 0x1a08cbe1) \ 48 V(_Double, _mul, DoubleMul, Double, 0x1a08cbe1) \
49 V(_Double, _div, DoubleDiv, Double, 0x38d2770f) \ 49 V(_Double, _div, DoubleDiv, Double, 0x38d2770f) \
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, 0x698eb78d) \ 52 V(::, _doublePow, MathDoublePow, Double, 0x698eb78d) \
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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 V(_ByteDataView, getInt16, ByteDataViewGetInt16, 0x60282377) \ 400 V(_ByteDataView, getInt16, ByteDataViewGetInt16, 0x60282377) \
401 V(_ByteDataView, getUint16, ByteDataViewGetUint16, 0x10edcd89) \ 401 V(_ByteDataView, getUint16, ByteDataViewGetUint16, 0x10edcd89) \
402 V(_ByteDataView, getInt32, ByteDataViewGetInt32, 0x79630f81) \ 402 V(_ByteDataView, getInt32, ByteDataViewGetInt32, 0x79630f81) \
403 V(_ByteDataView, getUint32, ByteDataViewGetUint32, 0x220d3da8) \ 403 V(_ByteDataView, getUint32, ByteDataViewGetUint32, 0x220d3da8) \
404 V(_ByteDataView, getInt64, ByteDataViewGetInt64, 0x757dd5c8) \ 404 V(_ByteDataView, getInt64, ByteDataViewGetInt64, 0x757dd5c8) \
405 V(_ByteDataView, getUint64, ByteDataViewGetUint64, 0x2fab992e) \ 405 V(_ByteDataView, getUint64, ByteDataViewGetUint64, 0x2fab992e) \
406 V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 0x387e9fc6) \ 406 V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 0x387e9fc6) \
407 V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 0x5396432d) \ 407 V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 0x5396432d) \
408 V(::, exp, MathExp, 0x5b894d7b) \ 408 V(::, exp, MathExp, 0x5b894d7b) \
409 V(::, log, MathLog, 0x2e25132c) \ 409 V(::, log, MathLog, 0x2e25132c) \
410 V(::, max, MathMax, 0x54121d6a) \ 410 V(::, max, MathMax, 0x4f51acb6) \
411 V(::, min, MathMin, 0x4276561c) \ 411 V(::, min, MathMin, 0x0bee5d52) \
412 V(::, pow, MathPow, 0x438e3089) \ 412 V(::, pow, MathPow, 0x438e3089) \
413 V(::, _classRangeCheck, ClassRangeCheck, 0x6279a7b3) \ 413 V(::, _classRangeCheck, ClassRangeCheck, 0x6279a7b3) \
414 V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x4799dac1) \ 414 V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x4799dac1) \
415 V(Lists, copy, ListsCopy, 0x21a194fa) \ 415 V(Lists, copy, ListsCopy, 0x21a194fa) \
416 V(_Bigint, get:_neg, Bigint_getNeg, 0x7bf17a57) \ 416 V(_Bigint, get:_neg, Bigint_getNeg, 0x7bf17a57) \
417 V(_Bigint, get:_used, Bigint_getUsed, 0x55041013) \ 417 V(_Bigint, get:_used, Bigint_getUsed, 0x55041013) \
418 V(_Bigint, get:_digits, Bigint_getDigits, 0x46a6c1b3) \ 418 V(_Bigint, get:_digits, Bigint_getDigits, 0x46a6c1b3) \
419 V(_HashVMBase, get:_index, LinkedHashMap_getIndex, 0x7d6bb76b) \ 419 V(_HashVMBase, get:_index, LinkedHashMap_getIndex, 0x7d6bb76b) \
420 V(_HashVMBase, set:_index, LinkedHashMap_setIndex, 0x4beb13f2) \ 420 V(_HashVMBase, set:_index, LinkedHashMap_setIndex, 0x4beb13f2) \
421 V(_HashVMBase, get:_data, LinkedHashMap_getData, 0x4bf5ccb3) \ 421 V(_HashVMBase, get:_data, LinkedHashMap_getData, 0x4bf5ccb3) \
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // Class that recognizes factories and returns corresponding result cid. 561 // Class that recognizes factories and returns corresponding result cid.
562 class FactoryRecognizer : public AllStatic { 562 class FactoryRecognizer : public AllStatic {
563 public: 563 public:
564 // Return kDynamicCid if factory is not recognized. 564 // Return kDynamicCid if factory is not recognized.
565 static intptr_t ResultCid(const Function& factory); 565 static intptr_t ResultCid(const Function& factory);
566 }; 566 };
567 567
568 } // namespace dart 568 } // namespace dart
569 569
570 #endif // RUNTIME_VM_METHOD_RECOGNIZER_H_ 570 #endif // RUNTIME_VM_METHOD_RECOGNIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698