| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/bootstrap_natives.h" | 5 #include "vm/bootstrap_natives.h" |
| 6 #include "vm/dart_api_impl.h" | 6 #include "vm/dart_api_impl.h" |
| 7 #include "vm/datastream.h" | 7 #include "vm/datastream.h" |
| 8 #include "vm/exceptions.h" | 8 #include "vm/exceptions.h" |
| 9 #include "vm/flags.h" | 9 #include "vm/flags.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 Service::HandleEvent(&spawn_event); | 479 Service::HandleEvent(&spawn_event); |
| 480 } | 480 } |
| 481 } else { | 481 } else { |
| 482 // The isolate failed to spawn. | 482 // The isolate failed to spawn. |
| 483 ASSERT(result.IsString()); | 483 ASSERT(result.IsString()); |
| 484 ServiceEvent spawn_event(NULL, ServiceEvent::kIsolateSpawn); | 484 ServiceEvent spawn_event(NULL, ServiceEvent::kIsolateSpawn); |
| 485 spawn_event.set_spawn_token(&token); | 485 spawn_event.set_spawn_token(&token); |
| 486 spawn_event.set_spawn_error(&String::Cast(result)); | 486 spawn_event.set_spawn_error(&String::Cast(result)); |
| 487 Service::HandleEvent(&spawn_event); | 487 Service::HandleEvent(&spawn_event); |
| 488 } | 488 } |
| 489 #else | 489 #endif |
| 490 return Object::null(); | 490 return Object::null(); |
| 491 #endif | |
| 492 } | 491 } |
| 493 | 492 |
| 494 } // namespace dart | 493 } // namespace dart |
| OLD | NEW |