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

Side by Side Diff: runtime/vm/dart.h

Issue 1427583009: 1. Get rid of SwitchIsolateScope as it is not clear when this should be used and there is also a bu… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | runtime/vm/dart.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #ifndef VM_DART_H_ 5 #ifndef VM_DART_H_
6 #define VM_DART_H_ 6 #define VM_DART_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 10
(...skipping 21 matching lines...) Expand all
32 Dart_FileWriteCallback file_write, 32 Dart_FileWriteCallback file_write,
33 Dart_FileCloseCallback file_close, 33 Dart_FileCloseCallback file_close,
34 Dart_EntropySource entropy_source, 34 Dart_EntropySource entropy_source,
35 Dart_GetVMServiceAssetsArchive get_service_assets); 35 Dart_GetVMServiceAssetsArchive get_service_assets);
36 static const char* Cleanup(); 36 static const char* Cleanup();
37 37
38 static Isolate* CreateIsolate(const char* name_prefix, 38 static Isolate* CreateIsolate(const char* name_prefix,
39 const Dart_IsolateFlags& api_flags); 39 const Dart_IsolateFlags& api_flags);
40 static RawError* InitializeIsolate(const uint8_t* snapshot, void* data); 40 static RawError* InitializeIsolate(const uint8_t* snapshot, void* data);
41 static void RunShutdownCallback(); 41 static void RunShutdownCallback();
42 static void ShutdownIsolate(Isolate* isolate);
42 static void ShutdownIsolate(); 43 static void ShutdownIsolate();
43 44
44 static Isolate* vm_isolate() { return vm_isolate_; } 45 static Isolate* vm_isolate() { return vm_isolate_; }
45 static ThreadPool* thread_pool() { return thread_pool_; } 46 static ThreadPool* thread_pool() { return thread_pool_; }
46 47
47 static void set_pprof_symbol_generator(DebugInfo* value) { 48 static void set_pprof_symbol_generator(DebugInfo* value) {
48 pprof_symbol_generator_ = value; 49 pprof_symbol_generator_ = value;
49 } 50 }
50 static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; } 51 static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; }
51 52
(...skipping 19 matching lines...) Expand all
71 static Isolate* vm_isolate_; 72 static Isolate* vm_isolate_;
72 static ThreadPool* thread_pool_; 73 static ThreadPool* thread_pool_;
73 static DebugInfo* pprof_symbol_generator_; 74 static DebugInfo* pprof_symbol_generator_;
74 static ReadOnlyHandles* predefined_handles_; 75 static ReadOnlyHandles* predefined_handles_;
75 static const uint8_t* instructions_snapshot_buffer_; 76 static const uint8_t* instructions_snapshot_buffer_;
76 }; 77 };
77 78
78 } // namespace dart 79 } // namespace dart
79 80
80 #endif // VM_DART_H_ 81 #endif // VM_DART_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698