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

Unified Diff: runtime/vm/raw_object.h

Issue 2972343002: [kernel] Insert kernel bodies into VM heap (Closed)
Patch Set: Review comments Created 3 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/parser.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index ce78c94bb964abe4112024bedffe48d95874651d..343b77d0fb590786d5c9a70c71d69eafe10b0d27 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -878,6 +878,7 @@ class RawFunction : public RawObject {
RawArray* parameter_names_;
RawTypeArguments* type_parameters_; // Array of TypeParameter.
RawObject* data_; // Additional data specific to the function kind.
+ RawTypedData* kernel_data_;
RawObject** to_snapshot() {
return reinterpret_cast<RawObject**>(&ptr()->data_);
}
@@ -964,6 +965,7 @@ class RawField : public RawObject {
RawObject* owner_; // Class or patch class or mixin class
// where this field is defined or original field.
RawAbstractType* type_;
+ RawTypedData* kernel_data_;
union {
RawInstance* static_value_; // Value for static fields.
RawSmi* offset_; // Offset in words for instance fields.
@@ -1089,8 +1091,6 @@ class RawScript : public RawObject {
int32_t col_offset_;
int8_t kind_; // Of type Kind.
int64_t load_timestamp_;
- const uint8_t* kernel_data_;
- intptr_t kernel_data_size_;
intptr_t kernel_script_index_;
};
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698