Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: runtime/vm/raw_object.h

Issue 23494014: - Reapply change r26880. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 26931)
+++ 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.
+ // This field cannot be shorter because of alignment issues on x64
// 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);
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698