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

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, 2 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
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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 return OFFSET_OF(Isolate, current_zone_); 334 return OFFSET_OF(Isolate, current_zone_);
335 } 335 }
336 336
337 void set_init_callback_data(void* value) { 337 void set_init_callback_data(void* value) {
338 init_callback_data_ = value; 338 init_callback_data_ = value;
339 } 339 }
340 void* init_callback_data() const { 340 void* init_callback_data() const {
341 return init_callback_data_; 341 return init_callback_data_;
342 } 342 }
343 343
344 Dart_ConfigCallback config_callback() const {
345 return config_callback_;
346 }
347 void set_config_callback(Dart_ConfigCallback value) {
348 config_callback_ = value;
349 }
350
344 Dart_LibraryTagHandler library_tag_handler() const { 351 Dart_LibraryTagHandler library_tag_handler() const {
345 return library_tag_handler_; 352 return library_tag_handler_;
346 } 353 }
347 void set_library_tag_handler(Dart_LibraryTagHandler value) { 354 void set_library_tag_handler(Dart_LibraryTagHandler value) {
348 library_tag_handler_ = value; 355 library_tag_handler_ = value;
349 } 356 }
350 357
351 void SetStackLimit(uword value); 358 void SetStackLimit(uword value);
352 void SetStackLimitFromCurrentTOS(uword isolate_stack_top); 359 void SetStackLimitFromCurrentTOS(uword isolate_stack_top);
353 360
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 MegamorphicCacheTable megamorphic_cache_table_; 650 MegamorphicCacheTable megamorphic_cache_table_;
644 Dart_MessageNotifyCallback message_notify_callback_; 651 Dart_MessageNotifyCallback message_notify_callback_;
645 char* name_; 652 char* name_;
646 int64_t start_time_; 653 int64_t start_time_;
647 Dart_Port main_port_; 654 Dart_Port main_port_;
648 Heap* heap_; 655 Heap* heap_;
649 ObjectStore* object_store_; 656 ObjectStore* object_store_;
650 RawContext* top_context_; 657 RawContext* top_context_;
651 uword top_exit_frame_info_; 658 uword top_exit_frame_info_;
652 void* init_callback_data_; 659 void* init_callback_data_;
660 Dart_ConfigCallback config_callback_;
653 Dart_LibraryTagHandler library_tag_handler_; 661 Dart_LibraryTagHandler library_tag_handler_;
654 ApiState* api_state_; 662 ApiState* api_state_;
655 StubCode* stub_code_; 663 StubCode* stub_code_;
656 Debugger* debugger_; 664 Debugger* debugger_;
657 bool single_step_; 665 bool single_step_;
658 Simulator* simulator_; 666 Simulator* simulator_;
659 LongJump* long_jump_base_; 667 LongJump* long_jump_base_;
660 TimerList timer_list_; 668 TimerList timer_list_;
661 intptr_t deopt_id_; 669 intptr_t deopt_id_;
662 Mutex* mutex_; // protects stack_limit_ and saved_stack_limit_. 670 Mutex* mutex_; // protects stack_limit_ and saved_stack_limit_.
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 Isolate* isolate_; 805 Isolate* isolate_;
798 char* script_url_; 806 char* script_url_;
799 char* library_url_; 807 char* library_url_;
800 char* function_name_; 808 char* function_name_;
801 char* exception_callback_name_; 809 char* exception_callback_name_;
802 }; 810 };
803 811
804 } // namespace dart 812 } // namespace dart
805 813
806 #endif // VM_ISOLATE_H_ 814 #endif // VM_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698