| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index eb9ccf0018a5a02b54def0851b900008722dd1e1..8e30fd0f99d22e87ae42cadcd026929d36b03b71 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -6631,7 +6631,7 @@ RawFunction* Function::New(const String& name,
|
| result.set_is_generated_body(false);
|
| result.set_always_inline(false);
|
| result.set_is_polymorphic_target(false);
|
| - NOT_IN_PRECOMPILED(result.set_was_compiled(false));
|
| + NOT_IN_PRECOMPILED(result.SetWasCompiled(false));
|
| result.set_owner(owner);
|
| NOT_IN_PRECOMPILED(result.set_token_pos(token_pos));
|
| NOT_IN_PRECOMPILED(result.set_end_token_pos(token_pos));
|
| @@ -6641,6 +6641,7 @@ RawFunction* Function::New(const String& name,
|
| NOT_IN_PRECOMPILED(result.set_deoptimization_counter(0));
|
| NOT_IN_PRECOMPILED(result.set_optimized_instruction_count(0));
|
| NOT_IN_PRECOMPILED(result.set_optimized_call_site_count(0));
|
| + NOT_IN_PRECOMPILED(result.set_inlining_depth(0));
|
| result.set_kernel_offset(0);
|
| result.set_is_optimizable(is_native ? false : true);
|
| result.set_is_inlinable(true);
|
| @@ -6681,6 +6682,7 @@ RawFunction* Function::Clone(const Class& new_owner) const {
|
| clone.set_usage_counter(0);
|
| clone.set_deoptimization_counter(0);
|
| clone.set_optimized_instruction_count(0);
|
| + clone.set_inlining_depth(0);
|
| clone.set_optimized_call_site_count(0);
|
| clone.set_kernel_offset(kernel_offset());
|
| clone.set_kernel_data(TypedData::Handle(zone, kernel_data()));
|
|
|