Index: runtime/vm/clustered_snapshot.cc |
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc |
index ba4b3d99faca98757e5e35ba3a243e4d79be1bb3..4181ce9e4b40d5fabbc3ab552dac32381a799db9 100644 |
--- a/runtime/vm/clustered_snapshot.cc |
+++ b/runtime/vm/clustered_snapshot.cc |
@@ -644,6 +644,7 @@ class FunctionDeserializationCluster : public DeserializationCluster { |
func->ptr()->deoptimization_counter_ = 0; |
func->ptr()->optimized_instruction_count_ = 0; |
func->ptr()->optimized_call_site_count_ = 0; |
+ func->ptr()->inlining_depth_ = 0; |
#endif |
} |
} |
@@ -670,10 +671,10 @@ class FunctionDeserializationCluster : public DeserializationCluster { |
code ^= func.CurrentCode(); |
if (func.HasCode() && !code.IsDisabled()) { |
func.SetInstructions(code); |
- func.set_was_compiled(true); |
+ func.SetWasCompiled(true); |
} else { |
func.ClearCode(); |
- func.set_was_compiled(false); |
+ func.SetWasCompiled(false); |
} |
} |
} else { |
@@ -682,7 +683,7 @@ class FunctionDeserializationCluster : public DeserializationCluster { |
func ^= refs.At(i); |
func.ClearICDataArray(); |
func.ClearCode(); |
- func.set_was_compiled(false); |
+ func.SetWasCompiled(false); |
} |
} |
} |