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

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

Issue 24975002: - Implement a first cut for const String.env in the VM to allow (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | 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 "platform/thread.h" 10 #include "platform/thread.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 return OFFSET_OF(Isolate, current_zone_); 167 return OFFSET_OF(Isolate, current_zone_);
168 } 168 }
169 169
170 void set_init_callback_data(void* value) { 170 void set_init_callback_data(void* value) {
171 init_callback_data_ = value; 171 init_callback_data_ = value;
172 } 172 }
173 void* init_callback_data() const { 173 void* init_callback_data() const {
174 return init_callback_data_; 174 return init_callback_data_;
175 } 175 }
176 176
177 Dart_EnvironmentCallback environment_callback() const {
178 return environment_callback_;
179 }
180 void set_environment_callback(Dart_EnvironmentCallback value) {
181 environment_callback_ = value;
182 }
183
177 Dart_LibraryTagHandler library_tag_handler() const { 184 Dart_LibraryTagHandler library_tag_handler() const {
178 return library_tag_handler_; 185 return library_tag_handler_;
179 } 186 }
180 void set_library_tag_handler(Dart_LibraryTagHandler value) { 187 void set_library_tag_handler(Dart_LibraryTagHandler value) {
181 library_tag_handler_ = value; 188 library_tag_handler_ = value;
182 } 189 }
183 190
184 void SetStackLimit(uword value); 191 void SetStackLimit(uword value);
185 void SetStackLimitFromCurrentTOS(uword isolate_stack_top); 192 void SetStackLimitFromCurrentTOS(uword isolate_stack_top);
186 193
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 MegamorphicCacheTable megamorphic_cache_table_; 393 MegamorphicCacheTable megamorphic_cache_table_;
387 Dart_MessageNotifyCallback message_notify_callback_; 394 Dart_MessageNotifyCallback message_notify_callback_;
388 char* name_; 395 char* name_;
389 int64_t start_time_; 396 int64_t start_time_;
390 Dart_Port main_port_; 397 Dart_Port main_port_;
391 Heap* heap_; 398 Heap* heap_;
392 ObjectStore* object_store_; 399 ObjectStore* object_store_;
393 RawContext* top_context_; 400 RawContext* top_context_;
394 uword top_exit_frame_info_; 401 uword top_exit_frame_info_;
395 void* init_callback_data_; 402 void* init_callback_data_;
403 Dart_EnvironmentCallback environment_callback_;
396 Dart_LibraryTagHandler library_tag_handler_; 404 Dart_LibraryTagHandler library_tag_handler_;
397 ApiState* api_state_; 405 ApiState* api_state_;
398 StubCode* stub_code_; 406 StubCode* stub_code_;
399 Debugger* debugger_; 407 Debugger* debugger_;
400 bool single_step_; 408 bool single_step_;
401 Simulator* simulator_; 409 Simulator* simulator_;
402 LongJump* long_jump_base_; 410 LongJump* long_jump_base_;
403 TimerList timer_list_; 411 TimerList timer_list_;
404 intptr_t deopt_id_; 412 intptr_t deopt_id_;
405 Mutex* mutex_; // protects stack_limit_ and saved_stack_limit_. 413 Mutex* mutex_; // protects stack_limit_ and saved_stack_limit_.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 Isolate* isolate_; 538 Isolate* isolate_;
531 char* script_url_; 539 char* script_url_;
532 char* library_url_; 540 char* library_url_;
533 char* function_name_; 541 char* function_name_;
534 char* exception_callback_name_; 542 char* exception_callback_name_;
535 }; 543 };
536 544
537 } // namespace dart 545 } // namespace dart
538 546
539 #endif // VM_ISOLATE_H_ 547 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698