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

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

Issue 1985763002: Fix ARM build by moving field in Thread (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/thread.h ('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 #include "vm/thread.h" 5 #include "vm/thread.h"
6 6
7 #include "vm/compiler_stats.h" 7 #include "vm/compiler_stats.h"
8 #include "vm/dart_api_state.h" 8 #include "vm/dart_api_state.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 #include "vm/isolate.h" 10 #include "vm/isolate.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 #define REUSABLE_HANDLE_INITIALIZERS(object) \ 58 #define REUSABLE_HANDLE_INITIALIZERS(object) \
59 object##_handle_(NULL), 59 object##_handle_(NULL),
60 60
61 61
62 Thread::Thread(Isolate* isolate) 62 Thread::Thread(Isolate* isolate)
63 : BaseThread(false), 63 : BaseThread(false),
64 stack_limit_(0), 64 stack_limit_(0),
65 stack_overflow_flags_(0), 65 stack_overflow_flags_(0),
66 isolate_(NULL), 66 isolate_(NULL),
67 dart_stream_(NULL),
68 heap_(NULL), 67 heap_(NULL),
69 top_exit_frame_info_(0), 68 top_exit_frame_info_(0),
70 store_buffer_block_(NULL), 69 store_buffer_block_(NULL),
71 vm_tag_(0), 70 vm_tag_(0),
72 task_kind_(kUnknownTask), 71 task_kind_(kUnknownTask),
72 dart_stream_(NULL),
73 os_thread_(NULL), 73 os_thread_(NULL),
74 thread_lock_(new Monitor()), 74 thread_lock_(new Monitor()),
75 zone_(NULL), 75 zone_(NULL),
76 api_reusable_scope_(NULL), 76 api_reusable_scope_(NULL),
77 api_top_scope_(NULL), 77 api_top_scope_(NULL),
78 top_resource_(NULL), 78 top_resource_(NULL),
79 long_jump_base_(NULL), 79 long_jump_base_(NULL),
80 no_callback_scope_depth_(0), 80 no_callback_scope_depth_(0),
81 #if defined(DEBUG) 81 #if defined(DEBUG)
82 top_handle_scope_(NULL), 82 top_handle_scope_(NULL),
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 735
736 DisableThreadInterruptsScope::~DisableThreadInterruptsScope() { 736 DisableThreadInterruptsScope::~DisableThreadInterruptsScope() {
737 if (thread() != NULL) { 737 if (thread() != NULL) {
738 OSThread* os_thread = thread()->os_thread(); 738 OSThread* os_thread = thread()->os_thread();
739 ASSERT(os_thread != NULL); 739 ASSERT(os_thread != NULL);
740 os_thread->EnableThreadInterrupts(); 740 os_thread->EnableThreadInterrupts();
741 } 741 }
742 } 742 }
743 743
744 } // namespace dart 744 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698