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

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

Issue 2139403002: Fix debug and release builds. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 | « no previous file | no next file » | 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 #else 489 #endif
490 return Object::null(); 490 return Object::null();
491 #endif
492 } 491 }
493 492
494 } // namespace dart 493 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698