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

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

Issue 1530543002: Make no_handle_scope_depth_ an int32_t field as that is what the accessor returns and there is chec… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | « no previous file | 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 "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/handles.h" 10 #include "vm/handles.h"
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 Zone* zone_; 407 Zone* zone_;
408 ApiLocalScope* api_reusable_scope_; 408 ApiLocalScope* api_reusable_scope_;
409 ApiLocalScope* api_top_scope_; 409 ApiLocalScope* api_top_scope_;
410 uword top_exit_frame_info_; 410 uword top_exit_frame_info_;
411 StackResource* top_resource_; 411 StackResource* top_resource_;
412 LongJumpScope* long_jump_base_; 412 LongJumpScope* long_jump_base_;
413 StoreBufferBlock* store_buffer_block_; 413 StoreBufferBlock* store_buffer_block_;
414 int32_t no_callback_scope_depth_; 414 int32_t no_callback_scope_depth_;
415 #if defined(DEBUG) 415 #if defined(DEBUG)
416 HandleScope* top_handle_scope_; 416 HandleScope* top_handle_scope_;
417 intptr_t no_handle_scope_depth_; 417 int32_t no_handle_scope_depth_;
418 int32_t no_safepoint_scope_depth_; 418 int32_t no_safepoint_scope_depth_;
419 #endif 419 #endif
420 VMHandles reusable_handles_; 420 VMHandles reusable_handles_;
421 421
422 // Compiler state: 422 // Compiler state:
423 CHA* cha_; 423 CHA* cha_;
424 intptr_t deopt_id_; // Compilation specific counter. 424 intptr_t deopt_id_; // Compilation specific counter.
425 uword vm_tag_; 425 uword vm_tag_;
426 RawGrowableObjectArray* pending_functions_; 426 RawGrowableObjectArray* pending_functions_;
427 427
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // Disable thread interrupts. 498 // Disable thread interrupts.
499 class DisableThreadInterruptsScope : public StackResource { 499 class DisableThreadInterruptsScope : public StackResource {
500 public: 500 public:
501 explicit DisableThreadInterruptsScope(Thread* thread); 501 explicit DisableThreadInterruptsScope(Thread* thread);
502 ~DisableThreadInterruptsScope(); 502 ~DisableThreadInterruptsScope();
503 }; 503 };
504 504
505 } // namespace dart 505 } // namespace dart
506 506
507 #endif // VM_THREAD_H_ 507 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698