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

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

Issue 108383007: Replaces LongJump with LongJumpScope. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/flow_graph_inliner.cc ('k') | runtime/vm/longjump.h » ('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 17 matching lines...) Expand all
28 class Debugger; 28 class Debugger;
29 class DeoptContext; 29 class DeoptContext;
30 class Field; 30 class Field;
31 class Function; 31 class Function;
32 class HandleScope; 32 class HandleScope;
33 class HandleVisitor; 33 class HandleVisitor;
34 class Heap; 34 class Heap;
35 class ICData; 35 class ICData;
36 class Instance; 36 class Instance;
37 class IsolateProfilerData; 37 class IsolateProfilerData;
38 class LongJump; 38 class LongJumpScope;
39 class MessageHandler; 39 class MessageHandler;
40 class Mutex; 40 class Mutex;
41 class Object; 41 class Object;
42 class ObjectPointerVisitor; 42 class ObjectPointerVisitor;
43 class ObjectStore; 43 class ObjectStore;
44 class RawInstance; 44 class RawInstance;
45 class RawArray; 45 class RawArray;
46 class RawContext; 46 class RawContext;
47 class RawDouble; 47 class RawDouble;
48 class RawMint; 48 class RawMint;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 static intptr_t top_exit_frame_info_offset() { 154 static intptr_t top_exit_frame_info_offset() {
155 return OFFSET_OF(Isolate, top_exit_frame_info_); 155 return OFFSET_OF(Isolate, top_exit_frame_info_);
156 } 156 }
157 157
158 ApiState* api_state() const { return api_state_; } 158 ApiState* api_state() const { return api_state_; }
159 void set_api_state(ApiState* value) { api_state_ = value; } 159 void set_api_state(ApiState* value) { api_state_ = value; }
160 160
161 StubCode* stub_code() const { return stub_code_; } 161 StubCode* stub_code() const { return stub_code_; }
162 void set_stub_code(StubCode* value) { stub_code_ = value; } 162 void set_stub_code(StubCode* value) { stub_code_ = value; }
163 163
164 LongJump* long_jump_base() const { return long_jump_base_; } 164 LongJumpScope* long_jump_base() const { return long_jump_base_; }
165 void set_long_jump_base(LongJump* value) { long_jump_base_ = value; } 165 void set_long_jump_base(LongJumpScope* value) { long_jump_base_ = value; }
166 166
167 TimerList& timer_list() { return timer_list_; } 167 TimerList& timer_list() { return timer_list_; }
168 168
169 static intptr_t current_zone_offset() { 169 static intptr_t current_zone_offset() {
170 return OFFSET_OF(Isolate, current_zone_); 170 return OFFSET_OF(Isolate, current_zone_);
171 } 171 }
172 172
173 void set_init_callback_data(void* value) { 173 void set_init_callback_data(void* value) {
174 init_callback_data_ = value; 174 init_callback_data_ = value;
175 } 175 }
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 uword top_exit_frame_info_; 429 uword top_exit_frame_info_;
430 void* init_callback_data_; 430 void* init_callback_data_;
431 Dart_EnvironmentCallback environment_callback_; 431 Dart_EnvironmentCallback environment_callback_;
432 Dart_LibraryTagHandler library_tag_handler_; 432 Dart_LibraryTagHandler library_tag_handler_;
433 ApiState* api_state_; 433 ApiState* api_state_;
434 StubCode* stub_code_; 434 StubCode* stub_code_;
435 Debugger* debugger_; 435 Debugger* debugger_;
436 bool single_step_; 436 bool single_step_;
437 Random random_; 437 Random random_;
438 Simulator* simulator_; 438 Simulator* simulator_;
439 LongJump* long_jump_base_; 439 LongJumpScope* long_jump_base_;
440 TimerList timer_list_; 440 TimerList timer_list_;
441 intptr_t deopt_id_; 441 intptr_t deopt_id_;
442 Mutex* mutex_; // protects stack_limit_ and saved_stack_limit_. 442 Mutex* mutex_; // protects stack_limit_ and saved_stack_limit_.
443 uword stack_limit_; 443 uword stack_limit_;
444 uword saved_stack_limit_; 444 uword saved_stack_limit_;
445 MessageHandler* message_handler_; 445 MessageHandler* message_handler_;
446 uword spawn_data_; 446 uword spawn_data_;
447 bool is_runnable_; 447 bool is_runnable_;
448 GcPrologueCallbacks gc_prologue_callbacks_; 448 GcPrologueCallbacks gc_prologue_callbacks_;
449 GcEpilogueCallbacks gc_epilogue_callbacks_; 449 GcEpilogueCallbacks gc_epilogue_callbacks_;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 char* script_url_; 574 char* script_url_;
575 char* library_url_; 575 char* library_url_;
576 char* class_name_; 576 char* class_name_;
577 char* function_name_; 577 char* function_name_;
578 char* exception_callback_name_; 578 char* exception_callback_name_;
579 }; 579 };
580 580
581 } // namespace dart 581 } // namespace dart
582 582
583 #endif // VM_ISOLATE_H_ 583 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/longjump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698