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

Side by Side Diff: runtime/vm/isolate.cc

Issue 14786012: Second step towards loading the core library scripts directly from the sources (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/os_android.cc » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/isolate.h" 5 #include "vm/isolate.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/json.h" 9 #include "platform/json.h"
10 #include "lib/mirrors.h" 10 #include "lib/mirrors.h"
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 SetCurrent(NULL); 734 SetCurrent(NULL);
735 } 735 }
736 736
737 737
738 Dart_IsolateCreateCallback Isolate::create_callback_ = NULL; 738 Dart_IsolateCreateCallback Isolate::create_callback_ = NULL;
739 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL; 739 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL;
740 Dart_IsolateUnhandledExceptionCallback 740 Dart_IsolateUnhandledExceptionCallback
741 Isolate::unhandled_exception_callback_ = NULL; 741 Isolate::unhandled_exception_callback_ = NULL;
742 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL; 742 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL;
743 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL; 743 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL;
744 Dart_FileReadCallback Isolate::file_read_callback_ = NULL;
744 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL; 745 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL;
745 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL; 746 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL;
746 Dart_IsolateInterruptCallback Isolate::vmstats_callback_ = NULL; 747 Dart_IsolateInterruptCallback Isolate::vmstats_callback_ = NULL;
747 748
748 749
749 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor, 750 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
750 bool visit_prologue_weak_handles, 751 bool visit_prologue_weak_handles,
751 bool validate_frames) { 752 bool validate_frames) {
752 ASSERT(visitor != NULL); 753 ASSERT(visitor != NULL);
753 754
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 return func.raw(); 1078 return func.raw();
1078 } 1079 }
1079 1080
1080 1081
1081 void IsolateSpawnState::Cleanup() { 1082 void IsolateSpawnState::Cleanup() {
1082 SwitchIsolateScope switch_scope(isolate()); 1083 SwitchIsolateScope switch_scope(isolate());
1083 Dart::ShutdownIsolate(); 1084 Dart::ShutdownIsolate();
1084 } 1085 }
1085 1086
1086 } // namespace dart 1087 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/os_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698