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

Unified Diff: vm/raw_object.h

Issue 9701010: First step towards implementing stack map descriptions for the optimizing compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 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: vm/raw_object.h
===================================================================
--- vm/raw_object.h (revision 5450)
+++ vm/raw_object.h (working copy)
@@ -35,6 +35,7 @@
V(Code) \
V(Instructions) \
V(PcDescriptors) \
+ V(Bitmap) \
V(LocalVarDescriptors) \
V(ExceptionHandlers) \
V(Context) \
@@ -688,6 +689,18 @@
};
+// Bitmap is an immutable representation of a bit map optimized for
+// dense and small bit maps, without any upper bound.
+class RawBitmap : public RawObject {
+ RAW_HEAP_OBJECT_IMPLEMENTATION(Bitmap);
+
+ RawSmi* size_; // Size of the bit map.
srdjan 2012/03/14 17:31:32 in bits or words?
siva 2012/03/14 22:54:20 size in bytes, I have renamed it accordingly. On
+
+ // Variable length data follows here.
+ uint8_t data_[0];
+};
+
+
class RawLocalVarDescriptors : public RawObject {
RAW_HEAP_OBJECT_IMPLEMENTATION(LocalVarDescriptors);
@@ -1139,7 +1152,6 @@
uint8_t data_[0];
};
-
} // namespace dart
#endif // VM_RAW_OBJECT_H_

Powered by Google App Engine
This is Rietveld 408576698