Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index f2f3e0db3f9fa5e467f4150294bfe9b307e64568..f440f32738e2a14a7368bd3db54a5a25b68839ca 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5889,16 +5889,15 @@ Dart_CompileToKernel(const char* script_uri) { |
DART_EXPORT Dart_KernelCompilationResult |
Dart_CompileSourcesToKernel(const char* script_uri, |
int source_files_count, |
- Dart_SourceFile sources[], |
- bool incremental_compile) { |
+ Dart_SourceFile sources[]) { |
#ifdef DART_PRECOMPILED_RUNTIME |
Dart_KernelCompilationResult result; |
result.status = Dart_KernelCompilationStatus_Unknown; |
result.error = strdup("Dart_CompileSourcesToKernel is unsupported."); |
return result; |
#else |
- return KernelIsolate::CompileToKernel(script_uri, source_files_count, sources, |
- incremental_compile); |
+ return KernelIsolate::CompileToKernel(script_uri, source_files_count, |
+ sources); |
#endif |
} |