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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 2411823003: VM support for running Kernel binaries. (Closed)
Patch Set: Address initial review comments Created 4 years, 2 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
Index: runtime/vm/raw_object_snapshot.cc
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc
index f345a19deba1972574eaaeb0291e4163b803c7d3..5837851a8bba9acebfb70f2817b71e6a20c0a580 100644
--- a/runtime/vm/raw_object_snapshot.cc
+++ b/runtime/vm/raw_object_snapshot.cc
@@ -714,6 +714,7 @@ RawFunction* Function::ReadFrom(SnapshotReader* reader,
func.set_deoptimization_counter(reader->Read<int8_t>());
func.set_optimized_instruction_count(reader->Read<uint16_t>());
func.set_optimized_call_site_count(reader->Read<uint16_t>());
+ func.set_dil_function(kNoDilNode);
func.set_was_compiled(false);
// Set all the object fields.
@@ -820,6 +821,7 @@ RawField* Field::ReadFrom(SnapshotReader* reader,
field.set_guarded_cid(reader->Read<int32_t>());
field.set_is_nullable(reader->Read<int32_t>());
field.set_kind_bits(reader->Read<uint8_t>());
+ field.set_dil_field(kNoDilNode);
// Set all the object fields.
READ_OBJECT_FIELDS(field,

Powered by Google App Engine
This is Rietveld 408576698