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

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

Issue 1422423002: Remove IsolateSpawnState::Cleanup as it is not used anywhere. (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/isolate.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 #ifndef VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/atomic.h" 10 #include "vm/atomic.h"
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 const char* class_name() const { return class_name_; } 1002 const char* class_name() const { return class_name_; }
1003 const char* function_name() const { return function_name_; } 1003 const char* function_name() const { return function_name_; }
1004 bool is_spawn_uri() const { return library_url_ == NULL; } 1004 bool is_spawn_uri() const { return library_url_ == NULL; }
1005 bool paused() const { return paused_; } 1005 bool paused() const { return paused_; }
1006 bool errors_are_fatal() const { return errors_are_fatal_; } 1006 bool errors_are_fatal() const { return errors_are_fatal_; }
1007 Isolate::Flags* isolate_flags() { return &isolate_flags_; } 1007 Isolate::Flags* isolate_flags() { return &isolate_flags_; }
1008 1008
1009 RawObject* ResolveFunction(); 1009 RawObject* ResolveFunction();
1010 RawInstance* BuildArgs(Thread* thread); 1010 RawInstance* BuildArgs(Thread* thread);
1011 RawInstance* BuildMessage(Thread* thread); 1011 RawInstance* BuildMessage(Thread* thread);
1012 void Cleanup();
1013 1012
1014 private: 1013 private:
1015 Isolate* isolate_; 1014 Isolate* isolate_;
1016 Dart_Port parent_port_; 1015 Dart_Port parent_port_;
1017 Dart_Port on_exit_port_; 1016 Dart_Port on_exit_port_;
1018 Dart_Port on_error_port_; 1017 Dart_Port on_error_port_;
1019 const char* script_url_; 1018 const char* script_url_;
1020 const char* package_root_; 1019 const char* package_root_;
1021 const char** package_map_; 1020 const char** package_map_;
1022 const char* library_url_; 1021 const char* library_url_;
1023 const char* class_name_; 1022 const char* class_name_;
1024 const char* function_name_; 1023 const char* function_name_;
1025 uint8_t* serialized_args_; 1024 uint8_t* serialized_args_;
1026 intptr_t serialized_args_len_; 1025 intptr_t serialized_args_len_;
1027 uint8_t* serialized_message_; 1026 uint8_t* serialized_message_;
1028 intptr_t serialized_message_len_; 1027 intptr_t serialized_message_len_;
1029 Isolate::Flags isolate_flags_; 1028 Isolate::Flags isolate_flags_;
1030 bool paused_; 1029 bool paused_;
1031 bool errors_are_fatal_; 1030 bool errors_are_fatal_;
1032 }; 1031 };
1033 1032
1034 } // namespace dart 1033 } // namespace dart
1035 1034
1036 #endif // VM_ISOLATE_H_ 1035 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698