Index: runtime/vm/unit_test.cc |
diff --git a/runtime/vm/unit_test.cc b/runtime/vm/unit_test.cc |
index 179e53762c10c5c5551a77b7c4c799bb34c16f91..3228eb6e2f6df435e6b7435583286e7477466a49 100644 |
--- a/runtime/vm/unit_test.cc |
+++ b/runtime/vm/unit_test.cc |
@@ -191,7 +191,8 @@ char* TestCase::CompileTestScriptWithDFE(const char* url, |
bool incrementally) { |
Zone* zone = Thread::Current()->zone(); |
Dart_KernelCompilationResult compilation_result = Dart_CompileSourcesToKernel( |
- url, sourcefiles_count, sourcefiles, incrementally); |
+ url, NULL /* platform_binary */, sourcefiles_count, sourcefiles, |
siva
2017/08/17 15:40:57
Why is platform_binary null here, is it because th
aam
2017/08/17 16:29:58
Basically for these tests we don't have to pass pa
siva
2017/08/18 00:40:45
Sounds good. I agree not necessary for the unit te
|
+ incrementally); |
if (compilation_result.status != Dart_KernelCompilationStatus_Ok) { |
return OS::SCreate(zone, "Compilation failed %s", compilation_result.error); |