Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: runtime/lib/vmservice.cc

Issue 2148533002: Fuchsia: Platform specific calls needed to Initialize and Cleanup VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/log_fuchsia.cc ('k') | runtime/vm/atomic_fuchsia.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 #endif 489 #endif // PRODUCT
490 return Object::null(); 490 return Object::null();
491 } 491 }
492 492
493 } // namespace dart 493 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/log_fuchsia.cc ('k') | runtime/vm/atomic_fuchsia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698