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

Unified Diff: src/checks.h

Issue 2373743002: [build] Use shared libraries by default for debug builds (Closed)
Patch Set: updates + format Created 4 years, 3 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 | « infra/mb/mb_config.pyl ('k') | src/handles.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/checks.h
diff --git a/src/checks.h b/src/checks.h
index 80404e8d89710e9360da27ffbaef9e5e47a28cc3..0d7eed3481184c35986bac1f3adced40145330c9 100644
--- a/src/checks.h
+++ b/src/checks.h
@@ -7,6 +7,7 @@
#include "include/v8.h"
#include "src/base/logging.h"
+#include "src/globals.h"
namespace v8 {
@@ -17,10 +18,10 @@ namespace internal {
#ifdef ENABLE_SLOW_DCHECKS
#define SLOW_DCHECK(condition) \
CHECK(!v8::internal::FLAG_enable_slow_asserts || (condition))
-extern bool FLAG_enable_slow_asserts;
+V8_EXPORT_PRIVATE extern bool FLAG_enable_slow_asserts;
#else
#define SLOW_DCHECK(condition) ((void) 0)
-const bool FLAG_enable_slow_asserts = false;
+static const bool FLAG_enable_slow_asserts = false;
#endif
} // namespace internal
« no previous file with comments | « infra/mb/mb_config.pyl ('k') | src/handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698