Bug 1084162 - Part 3: PGO most files by default on Windows. r=glandium
authorDavid Major <dmajor@mozilla.com>
Tue, 04 Nov 2014 14:28:57 +1300
changeset 238132 1f2a43a51c8297097c02d99d1e590204984fe4ae
parent 238131 718c16f5590141e5694340e44785e38f102cfcb0
child 238133 293c48ec288cd151a304c1da89d7c47b98e621ac
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1084162
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1084162 - Part 3: PGO most files by default on Windows. r=glandium
config/config.mk
--- a/config/config.mk
+++ b/config/config.mk
@@ -240,23 +240,16 @@ ifdef MOZ_GLUE_IN_PROGRAM
 DEFINES += -DMOZ_GLUE_IN_PROGRAM
 endif
 
 #
 # Build using PIC by default
 #
 _ENABLE_PIC=1
 
-# PGO on MSVC is opt-in
-ifdef _MSC_VER
-ifndef MSVC_ENABLE_PGO
-NO_PROFILE_GUIDED_OPTIMIZE = 1
-endif
-endif
-
 # No sense in profiling tools
 ifdef INTERNAL_TOOLS
 NO_PROFILE_GUIDED_OPTIMIZE = 1
 endif
 
 # Don't build SIMPLE_PROGRAMS with PGO, since they don't need it anyway,
 # and we don't have the same build logic to re-link them in the second pass.
 ifdef SIMPLE_PROGRAMS