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

Unified Diff: runtime/vm/object.h

Issue 1188973003: Port "Add snapshoting methods for code's metadata." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index f2aec48787d459fc1b073a74584d1659be4c50d7..3f1c2ef099b65c2f6c0702fb3e8727dca78dc3ae 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3816,6 +3816,8 @@ class PcDescriptors : public Object {
private:
static const char* KindAsStr(RawPcDescriptors::Kind kind);
+ static RawPcDescriptors* New(int32_t length);
srdjan 2015/06/18 21:02:51 intptr_t
rmacnak 2015/06/19 17:21:51 Done.
+
intptr_t Length() const;
void SetLength(intptr_t value) const;
void CopyData(GrowableArray<uint8_t>* data);
@@ -3867,6 +3869,10 @@ class Stackmap : public Object {
BitmapBuilder* bmap,
intptr_t register_bit_count);
+ static RawStackmap* New(intptr_t length,
+ intptr_t register_bit_count,
+ intptr_t pc_offset);
+
private:
void SetLength(intptr_t length) const {
StoreNonPointer(&raw_ptr()->length_, length);
@@ -3918,6 +3924,7 @@ class ExceptionHandlers : public Object {
}
static RawExceptionHandlers* New(intptr_t num_handlers);
+ static RawExceptionHandlers* New(const Array& handled_types_data);
// We would have a VisitPointers function here to traverse the
// exception handler table to visit objects if any in the table.
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698