| Index: runtime/vm/unit_test.h | 
| diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h | 
| index 16c6303af50c29c638df2768c38e404e5fbb2a5f..1e2889b837af8827c740c1d9cab6ad2a4742a744 100644 | 
| --- a/runtime/vm/unit_test.h | 
| +++ b/runtime/vm/unit_test.h | 
| @@ -289,11 +289,23 @@ class TestCase : TestCaseBase { | 
|  | 
| static char* CompileTestScriptWithDFE(const char* url, | 
| const char* source, | 
| -                                        void** kernel_pgm); | 
| +                                        void** kernel_pgm, | 
| +                                        bool incrementally = false); | 
| +  static char* CompileTestScriptWithDFE(const char* url, | 
| +                                        int sourcefiles_count, | 
| +                                        Dart_SourceFile sourcefiles[], | 
| +                                        void** kernel_pgm, | 
| +                                        bool incrementally = false); | 
| static Dart_Handle LoadTestScript(const char* script, | 
| Dart_NativeEntryResolver resolver, | 
| const char* lib_uri = USER_TEST_URI, | 
| bool finalize = true); | 
| +  static Dart_Handle LoadTestScriptWithDFE( | 
| +      int sourcefiles_count, | 
| +      Dart_SourceFile sourcefiles[], | 
| +      Dart_NativeEntryResolver resolver = NULL, | 
| +      bool finalize = true, | 
| +      bool incrementally = false); | 
| static Dart_Handle LoadCoreTestScript(const char* script, | 
| Dart_NativeEntryResolver resolver); | 
| static Dart_Handle lib(); | 
| @@ -314,6 +326,8 @@ class TestCase : TestCaseBase { | 
|  | 
| // Sets |script| to be the source used at next reload. | 
| static void SetReloadTestScript(const char* script); | 
| +  static void SetReloadTestKernel(const void* kernel); | 
| + | 
| // Initiates the reload. | 
| static Dart_Handle TriggerReload(); | 
| // Gets the result of a reload. | 
| @@ -321,6 +335,7 @@ class TestCase : TestCaseBase { | 
|  | 
| // Helper function which reloads the current isolate using |script|. | 
| static Dart_Handle ReloadTestScript(const char* script); | 
| +  static Dart_Handle ReloadTestKernel(const void* kernel); | 
|  | 
| static void AddTestLib(const char* url, const char* source); | 
| static const char* GetTestLib(const char* url); | 
|  |