| 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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 | 738 |
| 739 RawObject** from() { | 739 RawObject** from() { |
| 740 return reinterpret_cast<RawObject**>(&ptr()->instructions_); | 740 return reinterpret_cast<RawObject**>(&ptr()->instructions_); |
| 741 } | 741 } |
| 742 RawInstructions* instructions_; | 742 RawInstructions* instructions_; |
| 743 RawFunction* function_; | 743 RawFunction* function_; |
| 744 RawExceptionHandlers* exception_handlers_; | 744 RawExceptionHandlers* exception_handlers_; |
| 745 RawPcDescriptors* pc_descriptors_; | 745 RawPcDescriptors* pc_descriptors_; |
| 746 RawArray* deopt_info_array_; | 746 RawArray* deopt_info_array_; |
| 747 RawArray* object_table_; | 747 RawArray* object_table_; |
| 748 RawArray* static_calls_target_table_; // (code-offset, function, code). |
| 748 RawArray* stackmaps_; | 749 RawArray* stackmaps_; |
| 749 RawLocalVarDescriptors* var_descriptors_; | 750 RawLocalVarDescriptors* var_descriptors_; |
| 750 RawGrowableObjectArray* resolved_static_calls_; | |
| 751 RawArray* comments_; | 751 RawArray* comments_; |
| 752 RawObject** to() { | 752 RawObject** to() { |
| 753 return reinterpret_cast<RawObject**>(&ptr()->comments_); | 753 return reinterpret_cast<RawObject**>(&ptr()->comments_); |
| 754 } | 754 } |
| 755 | 755 |
| 756 intptr_t pointer_offsets_length_; | 756 intptr_t pointer_offsets_length_; |
| 757 // These fields cannot be boolean because of alignment issues on x64 | 757 // These fields cannot be boolean because of alignment issues on x64 |
| 758 // architectures. | 758 // architectures. |
| 759 intptr_t is_optimized_; | 759 intptr_t is_optimized_; |
| 760 // If true, the embedded object pointers will be visited during GC. | 760 // If true, the embedded object pointers will be visited during GC. |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1634 kExternalUint64ArrayCid == kExternalInt8ArrayCid + 7 && | 1634 kExternalUint64ArrayCid == kExternalInt8ArrayCid + 7 && |
| 1635 kExternalFloat32ArrayCid == kExternalInt8ArrayCid + 8 && | 1635 kExternalFloat32ArrayCid == kExternalInt8ArrayCid + 8 && |
| 1636 kExternalFloat64ArrayCid == kExternalInt8ArrayCid + 9 && | 1636 kExternalFloat64ArrayCid == kExternalInt8ArrayCid + 9 && |
| 1637 kStacktraceCid == kExternalInt8ArrayCid + 10); | 1637 kStacktraceCid == kExternalInt8ArrayCid + 10); |
| 1638 return (index >= kExternalInt8ArrayCid && index <= kExternalFloat64ArrayCid); | 1638 return (index >= kExternalInt8ArrayCid && index <= kExternalFloat64ArrayCid); |
| 1639 } | 1639 } |
| 1640 | 1640 |
| 1641 } // namespace dart | 1641 } // namespace dart |
| 1642 | 1642 |
| 1643 #endif // VM_RAW_OBJECT_H_ | 1643 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |