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

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

Issue 1410643008: Get rid of deprecated methods accessing mutator_thread_ instead of current thread (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/allocation_test.cc ('k') | runtime/vm/dart_api_impl.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_BASE_ISOLATE_H_ 5 #ifndef VM_BASE_ISOLATE_H_
6 #define VM_BASE_ISOLATE_H_ 6 #define VM_BASE_ISOLATE_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 10
(...skipping 24 matching lines...) Expand all
35 : mutator_thread_(NULL) { 35 : mutator_thread_(NULL) {
36 } 36 }
37 37
38 ~BaseIsolate() { 38 ~BaseIsolate() {
39 // Do not delete stack resources: top_resource_ and current_zone_. 39 // Do not delete stack resources: top_resource_ and current_zone_.
40 } 40 }
41 41
42 Thread* mutator_thread_; 42 Thread* mutator_thread_;
43 43
44 private: 44 private:
45 // During migration, some deprecated interfaces will default to using the
46 // mutator_thread_ (can't use accessor in Isolate due to circular deps).
47 friend class StackResource;
48 DISALLOW_COPY_AND_ASSIGN(BaseIsolate); 45 DISALLOW_COPY_AND_ASSIGN(BaseIsolate);
49 }; 46 };
50 47
51 } // namespace dart 48 } // namespace dart
52 49
53 #endif // VM_BASE_ISOLATE_H_ 50 #endif // VM_BASE_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/allocation_test.cc ('k') | runtime/vm/dart_api_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698