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

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

Issue 1569213003: Eliminate phase parameter in constructors (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
11 11
12 // (class-name, function-name, recognized enum, fingerprint). 12 // (class-name, function-name, recognized enum, fingerprint).
13 // When adding a new function add a 0 as fingerprint, build and run to get the 13 // When adding a new function add a 0 as fingerprint, build and run to get the
14 // correct fingerprint from the mismatch error. 14 // correct fingerprint from the mismatch error.
15 #define OTHER_RECOGNIZED_LIST(V) \ 15 #define OTHER_RECOGNIZED_LIST(V) \
16 V(::, identical, ObjectIdentical, 554128144) \ 16 V(::, identical, ObjectIdentical, 554128144) \
17 V(ClassID, getID, ClassIDgetID, 535124072) \ 17 V(ClassID, getID, ClassIDgetID, 535124072) \
18 V(Object, Object., ObjectConstructor, 1066759160) \ 18 V(Object, Object., ObjectConstructor, 1852396454) \
19 V(_List, ., ObjectArrayAllocate, 850375012) \ 19 V(_List, ., ObjectArrayAllocate, 850375012) \
20 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 1541411498) \ 20 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 1541411498) \
21 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 1032404349) \ 21 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 1032404349) \
22 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 381073990) \ 22 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 381073990) \
23 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 1142676276) \ 23 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 1142676276) \
24 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 330269934) \ 24 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 330269934) \
25 V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 59490554) \ 25 V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 59490554) \
26 V(_TypedList, _getInt64, ByteArrayBaseGetInt64, 322272622) \ 26 V(_TypedList, _getInt64, ByteArrayBaseGetInt64, 322272622) \
27 V(_TypedList, _getFloat32, ByteArrayBaseGetFloat32, 393003933) \ 27 V(_TypedList, _getFloat32, ByteArrayBaseGetFloat32, 393003933) \
28 V(_TypedList, _getFloat64, ByteArrayBaseGetFloat64, 1792407200) \ 28 V(_TypedList, _getFloat64, ByteArrayBaseGetFloat64, 1792407200) \
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 // Class that recognizes factories and returns corresponding result cid. 533 // Class that recognizes factories and returns corresponding result cid.
534 class FactoryRecognizer : public AllStatic { 534 class FactoryRecognizer : public AllStatic {
535 public: 535 public:
536 // Return kDynamicCid if factory is not recognized. 536 // Return kDynamicCid if factory is not recognized.
537 static intptr_t ResultCid(const Function& factory); 537 static intptr_t ResultCid(const Function& factory);
538 }; 538 };
539 539
540 } // namespace dart 540 } // namespace dart
541 541
542 #endif // VM_METHOD_RECOGNIZER_H_ 542 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698