| 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_RAW_OBJECT_H_ | 5 #ifndef VM_RAW_OBJECT_H_ |
| 6 #define VM_RAW_OBJECT_H_ | 6 #define VM_RAW_OBJECT_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/atomic.h" | 9 #include "vm/atomic.h" |
| 10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
| (...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 // Else, owner_ is a regular Dart Function. | 944 // Else, owner_ is a regular Dart Function. |
| 945 RawObject* owner_; // Function, Null, or a Class. | 945 RawObject* owner_; // Function, Null, or a Class. |
| 946 RawExceptionHandlers* exception_handlers_; | 946 RawExceptionHandlers* exception_handlers_; |
| 947 RawPcDescriptors* pc_descriptors_; | 947 RawPcDescriptors* pc_descriptors_; |
| 948 RawArray* deopt_info_array_; | 948 RawArray* deopt_info_array_; |
| 949 RawArray* object_table_; | 949 RawArray* object_table_; |
| 950 RawArray* static_calls_target_table_; // (code-offset, function, code). | 950 RawArray* static_calls_target_table_; // (code-offset, function, code). |
| 951 RawArray* stackmaps_; | 951 RawArray* stackmaps_; |
| 952 RawLocalVarDescriptors* var_descriptors_; | 952 RawLocalVarDescriptors* var_descriptors_; |
| 953 RawArray* inlined_intervals_; | 953 RawArray* inlined_intervals_; |
| 954 RawArray* inlined_id_to_function_; |
| 954 RawArray* comments_; | 955 RawArray* comments_; |
| 955 RawObject** to() { | 956 RawObject** to() { |
| 956 return reinterpret_cast<RawObject**>(&ptr()->comments_); | 957 return reinterpret_cast<RawObject**>(&ptr()->comments_); |
| 957 } | 958 } |
| 958 | 959 |
| 959 // Compilation timestamp. | 960 // Compilation timestamp. |
| 960 int64_t compile_timestamp_; | 961 int64_t compile_timestamp_; |
| 961 | 962 |
| 962 // state_bits_ is a bitfield with three fields: | 963 // state_bits_ is a bitfield with three fields: |
| 963 // The optimized bit, the alive bit, and a count of the number of pointer | 964 // The optimized bit, the alive bit, and a count of the number of pointer |
| (...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2163 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2164 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
| 2164 kTypedDataInt8ArrayViewCid + 15); | 2165 kTypedDataInt8ArrayViewCid + 15); |
| 2165 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2166 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
| 2166 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2167 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
| 2167 return (kNullCid - kTypedDataInt8ArrayCid); | 2168 return (kNullCid - kTypedDataInt8ArrayCid); |
| 2168 } | 2169 } |
| 2169 | 2170 |
| 2170 } // namespace dart | 2171 } // namespace dart |
| 2171 | 2172 |
| 2172 #endif // VM_RAW_OBJECT_H_ | 2173 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |