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

Unified Diff: runtime/vm/raw_object.h

Issue 10882055: Put live register bits in stackmaps. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index f98024170732c741657a965256677f0a6de2f462..06284eb31a877189eecf0b7bf0ed56005780a510 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -815,7 +815,11 @@ class RawStackmap : public RawObject {
RawCode* code_; // Code object corresponding to the frame described.
+ // TODO(kmillikin): We need a small number of bits to encode the register
+ // count. Consider packing them in with the length.
intptr_t length_; // Length of payload, in bits.
+ intptr_t register_count_; // Count of live registers, included in length_.
+
uword pc_; // PC corresponding to this stack map representation.
// Variable length data follows here (bitmap of the stack layout).

Powered by Google App Engine
This is Rietveld 408576698