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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2993013002: Introduce IKG into kernel-service to support incremental compilation. (Closed)
Patch Set: Add comment regarding always using incremental compiler. 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/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index aba87520b599c1a0240a1b53a88629820f7654bb..2ec06912a672b652d0d8f925d3aa0eb4f65ea130 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -5883,15 +5883,16 @@ Dart_CompileToKernel(const char* script_uri) {
DART_EXPORT Dart_KernelCompilationResult
Dart_CompileSourcesToKernel(const char* script_uri,
int source_files_count,
- Dart_SourceFile sources[]) {
+ Dart_SourceFile sources[],
+ bool incremental_compile) {
#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);
+ return KernelIsolate::CompileToKernel(script_uri, source_files_count, sources,
+ incremental_compile);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698