OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 class LocalVariable; | 32 class LocalVariable; |
33 class ParsedFunction; | 33 class ParsedFunction; |
34 class Range; | 34 class Range; |
35 | 35 |
36 | 36 |
37 // TODO(srdjan): Unify with INTRINSIC_LIST. | 37 // TODO(srdjan): Unify with INTRINSIC_LIST. |
38 // (class-name, function-name, recognized enum, fingerprint). | 38 // (class-name, function-name, recognized enum, fingerprint). |
39 // See intrinsifier for fingerprint computation. | 39 // See intrinsifier for fingerprint computation. |
40 #define RECOGNIZED_LIST(V) \ | 40 #define RECOGNIZED_LIST(V) \ |
41 V(::, identical, ObjectIdentical, 1018911876) \ | 41 V(::, identical, ObjectIdentical, 1018911876) \ |
42 V(Object, Object., ObjectConstructor, 2030609793) \ | 42 V(Object, Object., ObjectConstructor, 502077293) \ |
43 V(Object, get:_cid, ObjectCid, 732498573) \ | 43 V(Object, get:_cid, ObjectCid, 732498573) \ |
44 V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \ | 44 V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \ |
45 V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \ | 45 V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \ |
46 V(_TypedList, get:length, TypedDataLength, 1004567191) \ | 46 V(_TypedList, get:length, TypedDataLength, 1004567191) \ |
47 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 1219036864) \ | 47 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 1219036864) \ |
48 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 1219036864) \ | 48 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 1219036864) \ |
49 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 1219036864) \ | 49 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 1219036864) \ |
50 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 1219036864) \ | 50 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 1219036864) \ |
51 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 1219036864) \ | 51 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 1219036864) \ |
52 V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 1219036864) \ | 52 V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 1219036864) \ |
(...skipping 6566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6619 ForwardInstructionIterator* current_iterator_; | 6619 ForwardInstructionIterator* current_iterator_; |
6620 | 6620 |
6621 private: | 6621 private: |
6622 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 6622 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
6623 }; | 6623 }; |
6624 | 6624 |
6625 | 6625 |
6626 } // namespace dart | 6626 } // namespace dart |
6627 | 6627 |
6628 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 6628 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
OLD | NEW |