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

Unified Diff: BUILD.gn

Issue 2344493002: [gn] Fix no-inline config for V8 (Closed)
Patch Set: 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 | « no previous file | infra/mb/mb_config.pyl » ('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 01d71a1a5ddc4ed653f9f9eb433fcb00d04bec83..2bc49e6d931fdce0234cb612e9d7c21e4f3a871a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -62,6 +62,9 @@ declare_args() {
# tools/gen-postmortem-metadata.py for details.
v8_postmortem_support = false
+ # Switches off inlining in V8.
+ v8_no_inline = false
+
# Similar to vfp but on MIPS.
v8_can_use_fpu_instructions = true
@@ -357,6 +360,13 @@ config("toolchain") {
} else if (dcheck_always_on) {
defines += [ "DEBUG" ]
}
+
+ if (v8_no_inline) {
+ cflags += [
+ "-fno-inline-functions",
+ "-fno-inline",
+ ]
+ }
}
###############################################################################
« no previous file with comments | « no previous file | infra/mb/mb_config.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698