| Index: src/api.h
|
| diff --git a/src/api.h b/src/api.h
|
| index 8fb17a07b61c0d312edf4f0b82be30a95c6a2a1f..9197bafbc52331785f8d636b732a68e61281ba47 100644
|
| --- a/src/api.h
|
| +++ b/src/api.h
|
| @@ -667,7 +667,7 @@ void HandleScopeImplementer::DeleteExtensions(internal::Object** prev_limit) {
|
| #ifdef DEBUG
|
| // SealHandleScope may make the prev_limit to point inside the block.
|
| if (block_start <= prev_limit && prev_limit <= block_limit) {
|
| -#ifdef ENABLE_EXTRA_CHECKS
|
| +#ifdef ENABLE_HANDLE_ZAPPING
|
| internal::HandleScope::ZapRange(prev_limit, block_limit);
|
| #endif
|
| break;
|
| @@ -677,7 +677,7 @@ void HandleScopeImplementer::DeleteExtensions(internal::Object** prev_limit) {
|
| #endif
|
|
|
| blocks_.RemoveLast();
|
| -#ifdef ENABLE_EXTRA_CHECKS
|
| +#ifdef ENABLE_HANDLE_ZAPPING
|
| internal::HandleScope::ZapRange(block_start, block_limit);
|
| #endif
|
| if (spare_ != NULL) {
|
|
|