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

Unified Diff: runtime/vm/clustered_snapshot.cc

Issue 2670843006: Encode inlining information in CodeSourceMap and remove inlining interval arrays. (Closed)
Patch Set: . Created 3 years, 10 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/code_descriptors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/clustered_snapshot.cc
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
index 9929c3d49f4a97fecd9400eb4fba79108b56bdd1..162df5aba3a525e12cbdd3af297aad8795c69983 100644
--- a/runtime/vm/clustered_snapshot.cc
+++ b/runtime/vm/clustered_snapshot.cc
@@ -1571,7 +1571,7 @@ class CodeSerializationCluster : public SerializationCluster {
if (s->kind() == Snapshot::kAppJIT) {
s->Push(code->ptr()->deopt_info_array_);
s->Push(code->ptr()->static_calls_target_table_);
- NOT_IN_PRODUCT(s->Push(code->ptr()->inlined_metadata_));
+ NOT_IN_PRODUCT(s->Push(code->ptr()->inlined_id_to_function_));
NOT_IN_PRODUCT(s->Push(code->ptr()->return_address_metadata_));
}
}
@@ -1624,7 +1624,7 @@ class CodeSerializationCluster : public SerializationCluster {
if (s->kind() == Snapshot::kAppJIT) {
s->WriteRef(code->ptr()->deopt_info_array_);
s->WriteRef(code->ptr()->static_calls_target_table_);
- NOT_IN_PRODUCT(s->WriteRef(code->ptr()->inlined_metadata_));
+ NOT_IN_PRODUCT(s->WriteRef(code->ptr()->inlined_id_to_function_));
NOT_IN_PRODUCT(s->WriteRef(code->ptr()->return_address_metadata_));
}
@@ -1697,17 +1697,17 @@ class CodeDeserializationCluster : public DeserializationCluster {
code->ptr()->static_calls_target_table_ =
reinterpret_cast<RawArray*>(d->ReadRef());
#if defined(PRODUCT)
- code->ptr()->inlined_metadata_ = Array::null();
+ code->ptr()->inlined_id_to_function_ = Array::null();
code->ptr()->return_address_metadata_ = Object::null();
#else
- code->ptr()->inlined_metadata_ =
+ code->ptr()->inlined_id_to_function_ =
reinterpret_cast<RawArray*>(d->ReadRef());
code->ptr()->return_address_metadata_ = d->ReadRef();
#endif
} else {
code->ptr()->deopt_info_array_ = Array::null();
code->ptr()->static_calls_target_table_ = Array::null();
- code->ptr()->inlined_metadata_ = Array::null();
+ code->ptr()->inlined_id_to_function_ = Array::null();
code->ptr()->return_address_metadata_ = Object::null();
}
« no previous file with comments | « no previous file | runtime/vm/code_descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698