| 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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 // If owner_ is a Class the owner is the allocation stub for that class. | 922 // If owner_ is a Class the owner is the allocation stub for that class. |
| 923 // Else, owner_ is a regular Dart Function. | 923 // Else, owner_ is a regular Dart Function. |
| 924 RawObject* owner_; // Function, Null, or a Class. | 924 RawObject* owner_; // Function, Null, or a Class. |
| 925 RawExceptionHandlers* exception_handlers_; | 925 RawExceptionHandlers* exception_handlers_; |
| 926 RawPcDescriptors* pc_descriptors_; | 926 RawPcDescriptors* pc_descriptors_; |
| 927 RawArray* deopt_info_array_; | 927 RawArray* deopt_info_array_; |
| 928 RawArray* object_table_; | 928 RawArray* object_table_; |
| 929 RawArray* static_calls_target_table_; // (code-offset, function, code). | 929 RawArray* static_calls_target_table_; // (code-offset, function, code). |
| 930 RawArray* stackmaps_; | 930 RawArray* stackmaps_; |
| 931 RawLocalVarDescriptors* var_descriptors_; | 931 RawLocalVarDescriptors* var_descriptors_; |
| 932 RawArray* inlined_intervals_; |
| 932 RawArray* comments_; | 933 RawArray* comments_; |
| 933 RawObject** to() { | 934 RawObject** to() { |
| 934 return reinterpret_cast<RawObject**>(&ptr()->comments_); | 935 return reinterpret_cast<RawObject**>(&ptr()->comments_); |
| 935 } | 936 } |
| 936 | 937 |
| 937 // Compilation timestamp. | 938 // Compilation timestamp. |
| 938 int64_t compile_timestamp_; | 939 int64_t compile_timestamp_; |
| 939 | 940 |
| 940 // state_bits_ is a bitfield with three fields: | 941 // state_bits_ is a bitfield with three fields: |
| 941 // The optimized bit, the alive bit, and a count of the number of pointer | 942 // The optimized bit, the alive bit, and a count of the number of pointer |
| (...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2134 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2135 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
| 2135 kTypedDataInt8ArrayViewCid + 15); | 2136 kTypedDataInt8ArrayViewCid + 15); |
| 2136 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2137 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
| 2137 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2138 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
| 2138 return (kNullCid - kTypedDataInt8ArrayCid); | 2139 return (kNullCid - kTypedDataInt8ArrayCid); |
| 2139 } | 2140 } |
| 2140 | 2141 |
| 2141 } // namespace dart | 2142 } // namespace dart |
| 2142 | 2143 |
| 2143 #endif // VM_RAW_OBJECT_H_ | 2144 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |