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

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

Issue 1242343002: Remove more uses of Isolate::current_zone. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Access isolate via thread. Created 5 years, 5 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
« no previous file with comments | « runtime/vm/parser.cc ('k') | no next file » | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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_THREAD_H_ 5 #ifndef VM_THREAD_H_
6 #define VM_THREAD_H_ 6 #define VM_THREAD_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/os_thread.h" 9 #include "vm/os_thread.h"
10 #include "vm/store_buffer.h" 10 #include "vm/store_buffer.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 void set_top_exit_frame_info(uword top_exit_frame_info) { 201 void set_top_exit_frame_info(uword top_exit_frame_info) {
202 state_.top_exit_frame_info = top_exit_frame_info; 202 state_.top_exit_frame_info = top_exit_frame_info;
203 } 203 }
204 204
205 static void SetCurrent(Thread* current); 205 static void SetCurrent(Thread* current);
206 206
207 void Schedule(Isolate* isolate); 207 void Schedule(Isolate* isolate);
208 void Unschedule(); 208 void Unschedule();
209 209
210 friend class ApiZone;
210 friend class Isolate; 211 friend class Isolate;
211 friend class StackZone; 212 friend class StackZone;
212 DISALLOW_COPY_AND_ASSIGN(Thread); 213 DISALLOW_COPY_AND_ASSIGN(Thread);
213 }; 214 };
214 215
215 } // namespace dart 216 } // namespace dart
216 217
217 #endif // VM_THREAD_H_ 218 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698