Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 049519b6a83f08c224f13e49e12060cb93c967da..076ae691ee7de02185817b4d26d1a27327054e31 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2164,7 +2164,9 @@ bool Genesis::InstallNatives() { |
} |
#ifdef VERIFY_HEAP |
- builtins->ObjectVerify(); |
+ if (FLAG_verify_heap) { |
+ builtins->ObjectVerify(); |
+ } |
#endif |
return true; |