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

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

Issue 2423843002: Add DoubleTestOp instruction (Closed)
Patch Set: Cleanup Created 4 years, 2 months 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 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 28 matching lines...) Expand all
39 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x6e72f2a4) \ 39 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x6e72f2a4) \
40 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x4765edda) \ 40 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x4765edda) \
41 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x7cca4533) \ 41 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x7cca4533) \
42 V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x7631bdbc) \ 42 V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x7631bdbc) \
43 V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x6f98eb49) \ 43 V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x6f98eb49) \
44 V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x2f409861) \ 44 V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x2f409861) \
45 V(_Double, _add, DoubleAdd, Double, 0x0021c560) \ 45 V(_Double, _add, DoubleAdd, Double, 0x0021c560) \
46 V(_Double, _sub, DoubleSub, Double, 0x419b3c66) \ 46 V(_Double, _sub, DoubleSub, Double, 0x419b3c66) \
47 V(_Double, _mul, DoubleMul, Double, 0x1a08cbe1) \ 47 V(_Double, _mul, DoubleMul, Double, 0x1a08cbe1) \
48 V(_Double, _div, DoubleDiv, Double, 0x38d2770f) \ 48 V(_Double, _div, DoubleDiv, Double, 0x38d2770f) \
49 V(_Double, get:_isNaN, DoubleIsNaN, Bool, 0x09193f42) \
Florian Schneider 2016/10/18 20:34:21 You can omit the method here, if it is in the list
zra 2016/10/18 22:36:32 Done.
50 V(_Double, get:_isInfinite, DoubleIsInfinite, Bool, 0x34ef4e82) \
49 V(::, min, MathMin, Dynamic, 0x4276561c) \ 51 V(::, min, MathMin, Dynamic, 0x4276561c) \
50 V(::, max, MathMax, Dynamic, 0x54121d6a) \ 52 V(::, max, MathMax, Dynamic, 0x54121d6a) \
51 V(::, _doublePow, MathDoublePow, Double, 0x698eb78d) \ 53 V(::, _doublePow, MathDoublePow, Double, 0x698eb78d) \
52 V(Float32x4, Float32x4., Float32x4Constructor, Float32x4, 0x05968999) \ 54 V(Float32x4, Float32x4., Float32x4Constructor, Float32x4, 0x05968999) \
53 V(Float32x4, Float32x4.zero, Float32x4Zero, Float32x4, 0x472a4c46) \ 55 V(Float32x4, Float32x4.zero, Float32x4Zero, Float32x4, 0x472a4c46) \
54 V(Float32x4, Float32x4.splat, Float32x4Splat, Float32x4, 0x00bba1a5) \ 56 V(Float32x4, Float32x4.splat, Float32x4Splat, Float32x4, 0x00bba1a5) \
55 V(Float32x4, Float32x4.fromInt32x4Bits, Float32x4FromInt32x4Bits, Float32x4, \ 57 V(Float32x4, Float32x4.fromInt32x4Bits, Float32x4FromInt32x4Bits, Float32x4, \
56 0x46d00995) \ 58 0x46d00995) \
57 V(Float32x4, Float32x4.fromFloat64x2, Float32x4FromFloat64x2, Float32x4, \ 59 V(Float32x4, Float32x4.fromFloat64x2, Float32x4FromFloat64x2, Float32x4, \
58 0x685a86d2) \ 60 0x685a86d2) \
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 V(_Montgomery, _mulMod, Montgomery_mulMod, Dynamic, 0x741bed13) \ 150 V(_Montgomery, _mulMod, Montgomery_mulMod, Dynamic, 0x741bed13) \
149 V(_Double, >, Double_greaterThan, Bool, 0x569b0a81) \ 151 V(_Double, >, Double_greaterThan, Bool, 0x569b0a81) \
150 V(_Double, >=, Double_greaterEqualThan, Bool, 0x6c317340) \ 152 V(_Double, >=, Double_greaterEqualThan, Bool, 0x6c317340) \
151 V(_Double, <, Double_lessThan, Bool, 0x26dda4bc) \ 153 V(_Double, <, Double_lessThan, Bool, 0x26dda4bc) \
152 V(_Double, <=, Double_lessEqualThan, Bool, 0x1e869d20) \ 154 V(_Double, <=, Double_lessEqualThan, Bool, 0x1e869d20) \
153 V(_Double, ==, Double_equal, Bool, 0x578a1a51) \ 155 V(_Double, ==, Double_equal, Bool, 0x578a1a51) \
154 V(_Double, +, Double_add, Double, 0x4bac5dd5) \ 156 V(_Double, +, Double_add, Double, 0x4bac5dd5) \
155 V(_Double, -, Double_sub, Double, 0x62052dbb) \ 157 V(_Double, -, Double_sub, Double, 0x62052dbb) \
156 V(_Double, *, Double_mul, Double, 0x23d068d8) \ 158 V(_Double, *, Double_mul, Double, 0x23d068d8) \
157 V(_Double, /, Double_div, Double, 0x48bac1dc) \ 159 V(_Double, /, Double_div, Double, 0x48bac1dc) \
158 V(_Double, get:isNaN, Double_getIsNaN, Bool, 0x0af8ebeb) \ 160 V(_Double, get:isNaN, Double_getIsNaN, Bool, 0x0cf86c88) \
161 V(_Double, get:isInfinite, Double_getIsInfinite, Bool, 0x0e249b68) \
159 V(_Double, get:isNegative, Double_getIsNegative, Bool, 0x3a58ff36) \ 162 V(_Double, get:isNegative, Double_getIsNegative, Bool, 0x3a58ff36) \
160 V(_Double, _mulFromInteger, Double_mulFromInteger, Double, 0x330e9a36) \ 163 V(_Double, _mulFromInteger, Double_mulFromInteger, Double, 0x330e9a36) \
161 V(_Double, .fromInteger, DoubleFromInteger, Double, 0x7ef45843) \ 164 V(_Double, .fromInteger, DoubleFromInteger, Double, 0x7ef45843) \
162 V(_List, []=, ObjectArraySetIndexed, Dynamic, 0x34d2c72c) \ 165 V(_List, []=, ObjectArraySetIndexed, Dynamic, 0x34d2c72c) \
163 V(_GrowableList, .withData, GrowableArray_Allocate, GrowableObjectArray, \ 166 V(_GrowableList, .withData, GrowableArray_Allocate, GrowableObjectArray, \
164 0x25a786de) \ 167 0x25a786de) \
165 V(_GrowableList, add, GrowableArray_add, Dynamic, 0x0d1358ed) \ 168 V(_GrowableList, add, GrowableArray_add, Dynamic, 0x0d1358ed) \
166 V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, Dynamic, 0x6036d7fa) \ 169 V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, Dynamic, 0x6036d7fa) \
167 V(Object, ==, ObjectEquals, Bool, 0x11662ed8) \ 170 V(Object, ==, ObjectEquals, Bool, 0x11662ed8) \
168 V(Object, get:runtimeType, ObjectRuntimeType, Type, 0x00e7c26b) \ 171 V(Object, get:runtimeType, ObjectRuntimeType, Type, 0x00e7c26b) \
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 // Class that recognizes factories and returns corresponding result cid. 553 // Class that recognizes factories and returns corresponding result cid.
551 class FactoryRecognizer : public AllStatic { 554 class FactoryRecognizer : public AllStatic {
552 public: 555 public:
553 // Return kDynamicCid if factory is not recognized. 556 // Return kDynamicCid if factory is not recognized.
554 static intptr_t ResultCid(const Function& factory); 557 static intptr_t ResultCid(const Function& factory);
555 }; 558 };
556 559
557 } // namespace dart 560 } // namespace dart
558 561
559 #endif // VM_METHOD_RECOGNIZER_H_ 562 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698