From dcf8b6678afa0ffad5f2fa81e0739e6ee7915ac5 Mon Sep 17 00:00:00 2001 From: Jan de Mooij Date: Wed, 16 Jul 2014 10:32:57 +0200 Subject: [PATCH] Bug 1030706 - Disable PGO in js/src for MSVC 2010. r=glandium --- js/src/moz.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/src/moz.build b/js/src/moz.build index c527c23b830..dd6de6e15f4 100644 --- a/js/src/moz.build +++ b/js/src/moz.build @@ -403,7 +403,10 @@ else: 'perf/pm_stub.cpp' ] -MSVC_ENABLE_PGO = True +# Disable PGO for MSVC 2010 due to unpredictable performance, see +# bug 1030706. +if CONFIG['_MSC_VER'] != '1600': + MSVC_ENABLE_PGO = True HOST_SOURCES += [ 'jskwgen.cpp',