Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 01744a2b9c08de694105164ac025a41235963849..fce816ac5035059e55ef4d0ff4c0bc5bc58bd485 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7525,7 +7525,7 @@ DeferredHandles::~DeferredHandles() { |
isolate_->UnlinkDeferredHandles(this); |
for (int i = 0; i < blocks_.length(); i++) { |
-#ifdef ENABLE_EXTRA_CHECKS |
+#ifdef ENABLE_HANDLE_ZAPPING |
HandleScope::ZapRange(blocks_[i], &blocks_[i][kHandleBlockSize]); |
#endif |
isolate_->handle_scope_implementer()->ReturnBlock(blocks_[i]); |