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

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

Issue 200693002: Set VMTag from stubs when transitioning between Dart and Native (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « no previous file | runtime/vm/stack_frame_ia32.h » ('j') | runtime/vm/stub_code_ia32.cc » ('J')
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 static intptr_t top_context_offset() { 169 static intptr_t top_context_offset() {
170 return OFFSET_OF(Isolate, top_context_); 170 return OFFSET_OF(Isolate, top_context_);
171 } 171 }
172 172
173 uword top_exit_frame_info() const { return top_exit_frame_info_; } 173 uword top_exit_frame_info() const { return top_exit_frame_info_; }
174 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } 174 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; }
175 static intptr_t top_exit_frame_info_offset() { 175 static intptr_t top_exit_frame_info_offset() {
176 return OFFSET_OF(Isolate, top_exit_frame_info_); 176 return OFFSET_OF(Isolate, top_exit_frame_info_);
177 } 177 }
178 178
179 static intptr_t vm_tag_offset() {
180 return OFFSET_OF(Isolate, vm_tag_);
181 }
182
179 ApiState* api_state() const { return api_state_; } 183 ApiState* api_state() const { return api_state_; }
180 void set_api_state(ApiState* value) { api_state_ = value; } 184 void set_api_state(ApiState* value) { api_state_ = value; }
181 185
182 StubCode* stub_code() const { return stub_code_; } 186 StubCode* stub_code() const { return stub_code_; }
183 void set_stub_code(StubCode* value) { stub_code_ = value; } 187 void set_stub_code(StubCode* value) { stub_code_ = value; }
184 188
185 LongJumpScope* long_jump_base() const { return long_jump_base_; } 189 LongJumpScope* long_jump_base() const { return long_jump_base_; }
186 void set_long_jump_base(LongJumpScope* value) { long_jump_base_ = value; } 190 void set_long_jump_base(LongJumpScope* value) { long_jump_base_ = value; }
187 191
188 TimerList& timer_list() { return timer_list_; } 192 TimerList& timer_list() { return timer_list_; }
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 char* script_url_; 662 char* script_url_;
659 char* library_url_; 663 char* library_url_;
660 char* class_name_; 664 char* class_name_;
661 char* function_name_; 665 char* function_name_;
662 char* exception_callback_name_; 666 char* exception_callback_name_;
663 }; 667 };
664 668
665 } // namespace dart 669 } // namespace dart
666 670
667 #endif // VM_ISOLATE_H_ 671 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/stack_frame_ia32.h » ('j') | runtime/vm/stub_code_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698