Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index b55cdb0719863064229830e43c8b88279b42fd47..374a23da05b28b8e6962e50dd35155e7e4ad4396 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5950,14 +5950,16 @@ DART_EXPORT Dart_Handle Dart_TimelineAsyncEnd(const char* label, |
DART_EXPORT Dart_Handle Dart_Precompile( |
- Dart_QualifiedFunctionName entry_points[]) { |
+ Dart_QualifiedFunctionName entry_points[], |
+ bool reset_fields) { |
DARTSCOPE(Thread::Current()); |
Dart_Handle result = Api::CheckAndFinalizePendingClasses(I); |
if (::Dart_IsError(result)) { |
return result; |
} |
CHECK_CALLBACK_STATE(I); |
- const Error& error = Error::Handle(Precompiler::CompileAll(entry_points)); |
+ const Error& error = Error::Handle(Precompiler::CompileAll(entry_points, |
+ reset_fields)); |
if (!error.IsNull()) { |
return Api::NewHandle(I, error.raw()); |
} |