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

Unified Diff: runtime/vm/raw_object.h

Issue 1997143002: Don't write Code::code_source_map_ in snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/precompiler.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 ef5924e9f97533018301026464af053e5e5bce07..f48bfbf55c84751c2b9aeeb3898c859d3a6eb3e5 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -1135,15 +1135,12 @@ class RawCode : public RawObject {
RawObject* owner_; // Function, Null, or a Class.
RawExceptionHandlers* exception_handlers_;
RawPcDescriptors* pc_descriptors_;
- RawCodeSourceMap* code_source_map_;
RawArray* stackmaps_;
- RawObject** to_snapshot() {
- return reinterpret_cast<RawObject**>(&ptr()->stackmaps_);
- }
RawArray* deopt_info_array_;
RawArray* static_calls_target_table_; // (code-offset, function, code).
RawLocalVarDescriptors* var_descriptors_;
RawArray* inlined_metadata_;
+ RawCodeSourceMap* code_source_map_;
RawArray* comments_;
// If return_address_metadata_ is a Smi, it is the offset to the prologue.
// Else, return_address_metadata_ is null.
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698