Index: runtime/vm/heap.cc |
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc |
index 4ac395c9c66eb49ab125b9266aaa590353e9529f..b95dc862c3711e3ef828ea211376a80455ca3770 100644 |
--- a/runtime/vm/heap.cc |
+++ b/runtime/vm/heap.cc |
@@ -771,18 +771,6 @@ void Heap::PrintStats() { |
} |
-#if defined(DEBUG) |
-NoSafepointScope::NoSafepointScope() : StackResource(Thread::Current()) { |
- thread()->IncrementNoSafepointScopeDepth(); |
-} |
- |
- |
-NoSafepointScope::~NoSafepointScope() { |
- thread()->DecrementNoSafepointScopeDepth(); |
-} |
-#endif // defined(DEBUG) |
- |
- |
NoHeapGrowthControlScope::NoHeapGrowthControlScope() |
: StackResource(Isolate::Current()) { |
Heap* heap = reinterpret_cast<Isolate*>(isolate())->heap(); |