| 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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 return reinterpret_cast<RawObject**>(&ptr()->instructions_); | 949 return reinterpret_cast<RawObject**>(&ptr()->instructions_); |
| 950 } | 950 } |
| 951 RawInstructions* instructions_; | 951 RawInstructions* instructions_; |
| 952 // If owner_ is Function::null() the owner is a regular stub. | 952 // If owner_ is Function::null() the owner is a regular stub. |
| 953 // If owner_ is a Class the owner is the allocation stub for that class. | 953 // If owner_ is a Class the owner is the allocation stub for that class. |
| 954 // Else, owner_ is a regular Dart Function. | 954 // Else, owner_ is a regular Dart Function. |
| 955 RawObject* owner_; // Function, Null, or a Class. | 955 RawObject* owner_; // Function, Null, or a Class. |
| 956 RawExceptionHandlers* exception_handlers_; | 956 RawExceptionHandlers* exception_handlers_; |
| 957 RawPcDescriptors* pc_descriptors_; | 957 RawPcDescriptors* pc_descriptors_; |
| 958 RawArray* deopt_info_array_; | 958 RawArray* deopt_info_array_; |
| 959 RawArray* object_table_; | |
| 960 RawArray* static_calls_target_table_; // (code-offset, function, code). | 959 RawArray* static_calls_target_table_; // (code-offset, function, code). |
| 961 RawArray* stackmaps_; | 960 RawArray* stackmaps_; |
| 962 RawLocalVarDescriptors* var_descriptors_; | 961 RawLocalVarDescriptors* var_descriptors_; |
| 963 RawArray* inlined_intervals_; | 962 RawArray* inlined_intervals_; |
| 964 RawArray* inlined_id_to_function_; | 963 RawArray* inlined_id_to_function_; |
| 965 RawArray* comments_; | 964 RawArray* comments_; |
| 966 RawObject** to() { | 965 RawObject** to() { |
| 967 return reinterpret_cast<RawObject**>(&ptr()->comments_); | 966 return reinterpret_cast<RawObject**>(&ptr()->comments_); |
| 968 } | 967 } |
| 969 | 968 |
| (...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2155 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 2154 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
| 2156 kTypedDataInt8ArrayViewCid + 15); | 2155 kTypedDataInt8ArrayViewCid + 15); |
| 2157 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 2156 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
| 2158 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 2157 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
| 2159 return (kNullCid - kTypedDataInt8ArrayCid); | 2158 return (kNullCid - kTypedDataInt8ArrayCid); |
| 2160 } | 2159 } |
| 2161 | 2160 |
| 2162 } // namespace dart | 2161 } // namespace dart |
| 2163 | 2162 |
| 2164 #endif // VM_RAW_OBJECT_H_ | 2163 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |