| Index: src/api.h
|
| diff --git a/src/api.h b/src/api.h
|
| index fa8682bf572079558491ee7cba95e44e55ea73b3..7fce3e3b0a27e299e7a634ad3e947b5374df64fc 100644
|
| --- a/src/api.h
|
| +++ b/src/api.h
|
| @@ -661,7 +661,7 @@ void HandleScopeImplementer::DeleteExtensions(internal::Object** prev_limit) {
|
| while (!blocks_.is_empty()) {
|
| internal::Object** block_start = blocks_.last();
|
| internal::Object** block_limit = block_start + kHandleBlockSize;
|
| -#ifdef DEBUG
|
| +
|
| // SealHandleScope may make the prev_limit to point inside the block.
|
| if (block_start <= prev_limit && prev_limit <= block_limit) {
|
| #ifdef ENABLE_HANDLE_ZAPPING
|
| @@ -669,9 +669,6 @@ void HandleScopeImplementer::DeleteExtensions(internal::Object** prev_limit) {
|
| #endif
|
| break;
|
| }
|
| -#else
|
| - if (prev_limit == block_limit) break;
|
| -#endif
|
|
|
| blocks_.RemoveLast();
|
| #ifdef ENABLE_HANDLE_ZAPPING
|
|
|