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

Unified Diff: BUILD.gn

Issue 2650273006: Make enabling of CSA verifier a build-time flag (Closed)
Patch Set: Fix tests Created 3 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 | « no previous file | Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 7711227b11ae7680e71ea0e17fd03201028e01ea..573be791564493c7e99ac7123900cbfb0db5cd95 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -55,6 +55,9 @@ declare_args() {
# Enable slow dchecks.
v8_enable_slow_dchecks = false
+ # Enable code-generation-time checking of types in the CodeStubAssembler.
+ v8_enable_verify_csa = false
+
# Interpreted regexp engine exists as platform-independent alternative
# based where the regular expression is compiled to a bytecode.
v8_interpreted_regexp = false
@@ -402,6 +405,10 @@ config("toolchain") {
defines += [ "DEBUG" ]
}
+ if (v8_enable_verify_csa) {
+ defines += [ "ENABLE_VERIFY_CSA" ]
+ }
+
if (v8_no_inline) {
cflags += [
"-fno-inline-functions",
« no previous file with comments | « no previous file | Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698