| 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/globals.h" | 9 #include "vm/globals.h" |
| 10 #include "vm/token.h" | 10 #include "vm/token.h" |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 return reinterpret_cast<RawObject**>(&ptr()->instructions_); | 727 return reinterpret_cast<RawObject**>(&ptr()->instructions_); |
| 728 } | 728 } |
| 729 RawInstructions* instructions_; | 729 RawInstructions* instructions_; |
| 730 RawFunction* function_; | 730 RawFunction* function_; |
| 731 RawExceptionHandlers* exception_handlers_; | 731 RawExceptionHandlers* exception_handlers_; |
| 732 RawPcDescriptors* pc_descriptors_; | 732 RawPcDescriptors* pc_descriptors_; |
| 733 RawArray* deopt_info_array_; | 733 RawArray* deopt_info_array_; |
| 734 RawArray* object_table_; | 734 RawArray* object_table_; |
| 735 RawArray* stackmaps_; | 735 RawArray* stackmaps_; |
| 736 RawLocalVarDescriptors* var_descriptors_; | 736 RawLocalVarDescriptors* var_descriptors_; |
| 737 RawGrowableObjectArray* resolved_static_calls_; |
| 737 RawArray* comments_; | 738 RawArray* comments_; |
| 738 RawObject** to() { | 739 RawObject** to() { |
| 739 return reinterpret_cast<RawObject**>(&ptr()->comments_); | 740 return reinterpret_cast<RawObject**>(&ptr()->comments_); |
| 740 } | 741 } |
| 741 | 742 |
| 742 intptr_t pointer_offsets_length_; | 743 intptr_t pointer_offsets_length_; |
| 743 // These fields cannot be boolean because of alignment issues on x64 | 744 // These fields cannot be boolean because of alignment issues on x64 |
| 744 // architectures. | 745 // architectures. |
| 745 intptr_t is_optimized_; | 746 intptr_t is_optimized_; |
| 746 // If true, the embedded object pointers will be visited during GC. | 747 // If true, the embedded object pointers will be visited during GC. |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1606 kExternalUint64ArrayCid == kByteArrayCid + 18 && | 1607 kExternalUint64ArrayCid == kByteArrayCid + 18 && |
| 1607 kExternalFloat32ArrayCid == kByteArrayCid + 19 && | 1608 kExternalFloat32ArrayCid == kByteArrayCid + 19 && |
| 1608 kExternalFloat64ArrayCid == kByteArrayCid + 20 && | 1609 kExternalFloat64ArrayCid == kByteArrayCid + 20 && |
| 1609 kStacktraceCid == kByteArrayCid + 21); | 1610 kStacktraceCid == kByteArrayCid + 21); |
| 1610 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid); | 1611 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid); |
| 1611 } | 1612 } |
| 1612 | 1613 |
| 1613 } // namespace dart | 1614 } // namespace dart |
| 1614 | 1615 |
| 1615 #endif // VM_RAW_OBJECT_H_ | 1616 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |