Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: src/bootstrapper.cc

Issue 848403003: Add missing if (FLAG_verify_heap) checks around heap verification (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/execution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/api.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698