| Index: runtime/lib/isolate.cc
|
| diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc
|
| index fb51c07afed8253423d5304972b306231f6c08b0..54a55ee00b8cefb077a57bb3ee74b3ce0ddbd777 100644
|
| --- a/runtime/lib/isolate.cc
|
| +++ b/runtime/lib/isolate.cc
|
| @@ -345,7 +345,7 @@ DEFINE_NATIVE_ENTRY(Isolate_spawnUri, 12) {
|
| GET_NATIVE_ARGUMENT(String, packageRoot, arguments->NativeArgAt(10));
|
| GET_NATIVE_ARGUMENT(String, packageConfig, arguments->NativeArgAt(11));
|
|
|
| - if (Dart::IsRunningPrecompiledCode()) {
|
| + if (Snapshot::IncludesCode(Dart::snapshot_kind())) {
|
| const Array& args = Array::Handle(Array::New(1));
|
| args.SetAt(0, String::Handle(String::New(
|
| "Isolate.spawnUri not supported under precompilation")));
|
|
|