Index: runtime/lib/isolate.cc |
diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc |
index 5fc2a54b625d4f7e4a979dc498de4eb09938a7b3..e9bc612f9a088c1ad6ee4748d9109d4951fc4f92 100644 |
--- a/runtime/lib/isolate.cc |
+++ b/runtime/lib/isolate.cc |
@@ -351,7 +351,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::vm_snapshot_kind() == Snapshot::kAppAOT) { |
+ if (Dart::vm_snapshot_kind() == Snapshot::kFullAOT) { |
const Array& args = Array::Handle(Array::New(1)); |
args.SetAt( |
0, |