Chromium Code Reviews| 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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 804 RawArray* stackmaps_; | 804 RawArray* stackmaps_; |
| 805 RawLocalVarDescriptors* var_descriptors_; | 805 RawLocalVarDescriptors* var_descriptors_; |
| 806 RawArray* comments_; | 806 RawArray* comments_; |
| 807 RawObject** to() { | 807 RawObject** to() { |
| 808 return reinterpret_cast<RawObject**>(&ptr()->comments_); | 808 return reinterpret_cast<RawObject**>(&ptr()->comments_); |
| 809 } | 809 } |
| 810 | 810 |
| 811 intptr_t pointer_offsets_length_; | 811 intptr_t pointer_offsets_length_; |
| 812 // This cannot be boolean because of alignment issues on x64 architectures. | 812 // This cannot be boolean because of alignment issues on x64 architectures. |
| 813 intptr_t is_optimized_; | 813 intptr_t is_optimized_; |
| 814 intptr_t spill_slot_count_; | |
|
srdjan
2012/08/10 23:11:05
Add comment what it means, when it is set.
Kevin Millikin (Google)
2012/08/13 15:10:37
Done.
| |
| 814 | 815 |
| 815 // Variable length data follows here. | 816 // Variable length data follows here. |
| 816 int32_t data_[0]; | 817 int32_t data_[0]; |
| 817 | 818 |
| 818 friend class StackFrame; | 819 friend class StackFrame; |
| 819 }; | 820 }; |
| 820 | 821 |
| 821 | 822 |
| 822 class RawInstructions : public RawObject { | 823 class RawInstructions : public RawObject { |
| 823 RAW_HEAP_OBJECT_IMPLEMENTATION(Instructions); | 824 RAW_HEAP_OBJECT_IMPLEMENTATION(Instructions); |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1610 kExternalUint64ArrayCid == kByteArrayCid + 18 && | 1611 kExternalUint64ArrayCid == kByteArrayCid + 18 && |
| 1611 kExternalFloat32ArrayCid == kByteArrayCid + 19 && | 1612 kExternalFloat32ArrayCid == kByteArrayCid + 19 && |
| 1612 kExternalFloat64ArrayCid == kByteArrayCid + 20 && | 1613 kExternalFloat64ArrayCid == kByteArrayCid + 20 && |
| 1613 kStacktraceCid == kByteArrayCid + 21); | 1614 kStacktraceCid == kByteArrayCid + 21); |
| 1614 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid); | 1615 return (index >= kByteArrayCid && index <= kExternalFloat64ArrayCid); |
| 1615 } | 1616 } |
| 1616 | 1617 |
| 1617 } // namespace dart | 1618 } // namespace dart |
| 1618 | 1619 |
| 1619 #endif // VM_RAW_OBJECT_H_ | 1620 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |