Chromium Code Reviews| Index: runtime/vm/raw_object.h |
| =================================================================== |
| --- runtime/vm/raw_object.h (revision 26823) |
| +++ runtime/vm/raw_object.h (working copy) |
| @@ -837,11 +837,10 @@ |
| } |
| intptr_t pointer_offsets_length_; |
| - // These fields cannot be boolean because of alignment issues on x64 |
| + // Alive: If true, the embedded object pointers will be visited during GC. |
| + // Thes field cannot be shorter because of alignment issues on x64 |
|
siva
2013/08/29 16:29:20
*Thes*This
srdjan
2013/08/29 16:38:13
Done.
|
| // architectures. |
| - intptr_t is_optimized_; |
| - // If true, the embedded object pointers will be visited during GC. |
| - intptr_t is_alive_; |
| + intptr_t state_bits_; // state, is_optimized, is_alive. |
| // Variable length data follows here. |
| int32_t data_[0]; |
| @@ -943,9 +942,9 @@ |
| // The index into the ExceptionHandlers table corresponds to |
| // the try_index of the handler. |
| struct HandlerInfo { |
| - intptr_t outer_try_index; // Try block index of enclosing try block. |
| intptr_t handler_pc; // PC value of handler. |
| - bool needs_stacktrace; // True if a stacktrace is needed. |
| + int16_t outer_try_index; // Try block index of enclosing try block. |
| + int16_t needs_stacktrace; // True if a stacktrace is needed. |
| }; |
| private: |
| RAW_HEAP_OBJECT_IMPLEMENTATION(ExceptionHandlers); |