Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 9765) |
+++ src/objects-inl.h (working copy) |
@@ -765,7 +765,10 @@ |
return false; |
} |
#ifdef DEBUG |
- reinterpret_cast<JSFunctionResultCache*>(this)->JSFunctionResultCacheVerify(); |
+ if (FLAG_verify_heap) { |
+ reinterpret_cast<JSFunctionResultCache*>(this)-> |
+ JSFunctionResultCacheVerify(); |
+ } |
#endif |
return true; |
} |
@@ -777,7 +780,9 @@ |
return false; |
} |
#ifdef DEBUG |
- reinterpret_cast<NormalizedMapCache*>(this)->NormalizedMapCacheVerify(); |
+ if (FLAG_verify_heap) { |
+ reinterpret_cast<NormalizedMapCache*>(this)->NormalizedMapCacheVerify(); |
+ } |
#endif |
return true; |
} |