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

Unified Diff: runtime/vm/base_isolate.h

Issue 1016503005: Rename NoGCScope -> NoSafepointScope. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/string.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/base_isolate.h
===================================================================
--- runtime/vm/base_isolate.h (revision 44579)
+++ runtime/vm/base_isolate.h (working copy)
@@ -64,25 +64,25 @@
#endif
}
- int32_t no_gc_scope_depth() const {
+ int32_t no_safepoint_scope_depth() const {
#if defined(DEBUG)
- return no_gc_scope_depth_;
+ return no_safepoint_scope_depth_;
#else
return 0;
#endif
}
- void IncrementNoGCScopeDepth() {
+ void IncrementNoSafepointScopeDepth() {
#if defined(DEBUG)
- ASSERT(no_gc_scope_depth_ < INT_MAX);
- no_gc_scope_depth_ += 1;
+ ASSERT(no_safepoint_scope_depth_ < INT_MAX);
+ no_safepoint_scope_depth_ += 1;
#endif
}
- void DecrementNoGCScopeDepth() {
+ void DecrementNoSafepointScopeDepth() {
#if defined(DEBUG)
- ASSERT(no_gc_scope_depth_ > 0);
- no_gc_scope_depth_ -= 1;
+ ASSERT(no_safepoint_scope_depth_ > 0);
+ no_safepoint_scope_depth_ -= 1;
#endif
}
@@ -111,7 +111,7 @@
#if defined(DEBUG)
top_handle_scope_(NULL),
no_handle_scope_depth_(0),
- no_gc_scope_depth_(0),
+ no_safepoint_scope_depth_(0),
#endif
no_callback_scope_depth_(0)
{}
@@ -125,7 +125,7 @@
#if defined(DEBUG)
HandleScope* top_handle_scope_;
int32_t no_handle_scope_depth_;
- int32_t no_gc_scope_depth_;
+ int32_t no_safepoint_scope_depth_;
#endif
int32_t no_callback_scope_depth_;
« no previous file with comments | « runtime/lib/string.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698