| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 10ff1453ce279d098d2e4be3b72732742a34ae39..cd77c00f85c0762765ac5524b689b008c5fe2fea 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -13020,7 +13020,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetFromCache) {
|
| if (pending_exception) return Failure::Exception();
|
| }
|
|
|
| -#ifdef DEBUG
|
| +#ifdef VERIFY_HEAP
|
| if (FLAG_verify_heap) {
|
| cache_handle->JSFunctionResultCacheVerify();
|
| }
|
| @@ -13051,7 +13051,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetFromCache) {
|
| cache_handle->set(index + 1, *value);
|
| cache_handle->set_finger_index(index);
|
|
|
| -#ifdef DEBUG
|
| +#ifdef VERIFY_HEAP
|
| if (FLAG_verify_heap) {
|
| cache_handle->JSFunctionResultCacheVerify();
|
| }
|
|
|