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_ |