Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 2958d2cc0a8cb985dcb6407a04b83b2969d1d55a..9c436a211ba5b5a271f99172f1d74c185efd97be 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -101,12 +101,14 @@ void HandleScope::DeleteExtensions(Isolate* isolate) { |
} |
+#ifdef ENABLE_EXTRA_CHECKS |
void HandleScope::ZapRange(Object** start, Object** end) { |
ASSERT(end - start <= kHandleBlockSize); |
for (Object** p = start; p != end; p++) { |
*reinterpret_cast<Address*>(p) = v8::internal::kHandleZapValue; |
} |
} |
+#endif |
Address HandleScope::current_level_address(Isolate* isolate) { |