OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_FLOW_GRAPH_BUILDER_H_ | 5 #ifndef VM_FLOW_GRAPH_BUILDER_H_ |
6 #define VM_FLOW_GRAPH_BUILDER_H_ | 6 #define VM_FLOW_GRAPH_BUILDER_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "platform/globals.h" | 9 #include "platform/globals.h" |
10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 class NestedStatement; | 28 class NestedStatement; |
29 class TestGraphVisitor; | 29 class TestGraphVisitor; |
30 | 30 |
31 // List of recognized list factories: | 31 // List of recognized list factories: |
32 // (factory-name-symbol, result-cid, fingerprint). | 32 // (factory-name-symbol, result-cid, fingerprint). |
33 // TODO(srdjan): Store the values in the snapshot instead. | 33 // TODO(srdjan): Store the values in the snapshot instead. |
34 #define RECOGNIZED_LIST_FACTORY_LIST(V) \ | 34 #define RECOGNIZED_LIST_FACTORY_LIST(V) \ |
35 V(_ListFactory, kArrayCid, 1595327584) \ | 35 V(_ListFactory, kArrayCid, 1595327584) \ |
36 V(_GrowableListWithData, kGrowableObjectArrayCid, 732923072) \ | 36 V(_GrowableListWithData, kGrowableObjectArrayCid, 732923072) \ |
37 V(_GrowableListFactory, kGrowableObjectArrayCid, 1842713619) \ | 37 V(_GrowableListFactory, kGrowableObjectArrayCid, 1956565810) \ |
38 V(_Int8ArrayFactory, kTypedDataInt8ArrayCid, 1499010120) \ | 38 V(_Int8ArrayFactory, kTypedDataInt8ArrayCid, 1499010120) \ |
39 V(_Uint8ArrayFactory, kTypedDataUint8ArrayCid, 354210806) \ | 39 V(_Uint8ArrayFactory, kTypedDataUint8ArrayCid, 354210806) \ |
40 V(_Uint8ClampedArrayFactory, kTypedDataUint8ClampedArrayCid, 231626935) \ | 40 V(_Uint8ClampedArrayFactory, kTypedDataUint8ClampedArrayCid, 231626935) \ |
41 V(_Int16ArrayFactory, kTypedDataInt16ArrayCid, 1044203454) \ | 41 V(_Int16ArrayFactory, kTypedDataInt16ArrayCid, 1044203454) \ |
42 V(_Uint16ArrayFactory, kTypedDataUint16ArrayCid, 616427808) \ | 42 V(_Uint16ArrayFactory, kTypedDataUint16ArrayCid, 616427808) \ |
43 V(_Int32ArrayFactory, kTypedDataInt32ArrayCid, 26656923) \ | 43 V(_Int32ArrayFactory, kTypedDataInt32ArrayCid, 26656923) \ |
44 V(_Uint32ArrayFactory, kTypedDataUint32ArrayCid, 297463966) \ | 44 V(_Uint32ArrayFactory, kTypedDataUint32ArrayCid, 297463966) \ |
45 V(_Int64ArrayFactory, kTypedDataInt64ArrayCid, 105050331) \ | 45 V(_Int64ArrayFactory, kTypedDataInt64ArrayCid, 105050331) \ |
46 V(_Uint64ArrayFactory, kTypedDataUint64ArrayCid, 1469861670) \ | 46 V(_Uint64ArrayFactory, kTypedDataUint64ArrayCid, 1469861670) \ |
47 V(_Float64ArrayFactory, kTypedDataFloat64ArrayCid, 342242776) \ | 47 V(_Float64ArrayFactory, kTypedDataFloat64ArrayCid, 342242776) \ |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 // Output parameters. | 588 // Output parameters. |
589 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 589 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
590 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 590 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
591 | 591 |
592 intptr_t condition_token_pos_; | 592 intptr_t condition_token_pos_; |
593 }; | 593 }; |
594 | 594 |
595 } // namespace dart | 595 } // namespace dart |
596 | 596 |
597 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 597 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
OLD | NEW |