Index: src/heap/heap-inl.h |
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h |
index 549ecbc9a64eafe8f93c77c67e7e90d1f6a9afe2..6048d3e5256dc5ad02e52ac85033ac551c282639 100644 |
--- a/src/heap/heap-inl.h |
+++ b/src/heap/heap-inl.h |
@@ -729,20 +729,6 @@ AlwaysAllocateScope::~AlwaysAllocateScope() { |
} |
-#ifdef VERIFY_HEAP |
-NoWeakObjectVerificationScope::NoWeakObjectVerificationScope() { |
- Isolate* isolate = Isolate::Current(); |
- isolate->heap()->no_weak_object_verification_scope_depth_++; |
-} |
- |
- |
-NoWeakObjectVerificationScope::~NoWeakObjectVerificationScope() { |
- Isolate* isolate = Isolate::Current(); |
- isolate->heap()->no_weak_object_verification_scope_depth_--; |
-} |
-#endif |
- |
- |
GCCallbacksScope::GCCallbacksScope(Heap* heap) : heap_(heap) { |
heap_->gc_callbacks_depth_++; |
} |