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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 2994283002: [VM-Compiler] Don't inline if we don't have inlining budget enough to fully inline.
Patch Set: 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
Index: runtime/vm/raw_object_snapshot.cc
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc
index cd0207c568184869f7a85700f1408aec9f92b02f..f7d55d0322776054e8132ec4d329fb9b2936baa4 100644
--- a/runtime/vm/raw_object_snapshot.cc
+++ b/runtime/vm/raw_object_snapshot.cc
@@ -733,7 +733,8 @@ 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_was_compiled(false);
+ func.set_kernel_offset(0);
+ func.SetWasCompiled(false);
// Set all the object fields.
READ_OBJECT_FIELDS(func, func.raw()->from(), func.raw()->to_snapshot(),

Powered by Google App Engine
This is Rietveld 408576698