bug 492688 - use -fomit-frame-pointer on mac. r=sayrer
authorPaul Biggar <pbiggar@mozilla.com>
Tue, 24 Aug 2010 12:16:17 -0400
changeset 51458 e2c21045e316f20d8d68c4ce2a3a8c320d395354
parent 51457 5685f8de41fab653b7872cc5fd5be7b34efc0368
child 51459 24b1401530232cf1c610e01069fab5c7e2393d6f
push id15315
push userrsayre@mozilla.com
push dateWed, 25 Aug 2010 16:25:25 +0000
treeherdermozilla-central@0aefd9d484f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssayrer
bugs492688
milestone2.0b5pre
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 492688 - use -fomit-frame-pointer on mac. r=sayrer
js/src/Makefile.in
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -83,21 +83,17 @@ ifdef INTEL_CXX
 # icc gets special optimize flags
 ifdef MOZ_PROFILE_GENERATE
 MODULE_OPTIMIZE_FLAGS = -O0
 else
 MODULE_OPTIMIZE_FLAGS = -O2 -ip
 #XXX: do we want different INTERP_OPTIMIZER flags here?
 endif
 else # not INTEL_CXX
-MODULE_OPTIMIZE_FLAGS = -O3 -fstrict-aliasing $(MOZ_OPTIMIZE_SIZE_TWEAK)
-ifeq ($(OS_ARCH),Linux)
-#TODO: move this up a line when we fix OS X (bug 517832)
-MODULE_OPTIMIZE_FLAGS += -fomit-frame-pointer
-endif
+MODULE_OPTIMIZE_FLAGS = -O3 -fstrict-aliasing -fomit-frame-pointer $(MOZ_OPTIMIZE_SIZE_TWEAK)
 # Special optimization flags for jsinterp.c
 INTERP_OPTIMIZER = -O3 -fstrict-aliasing
 endif
 else # not GNU_CXX
 ifeq ($(OS_ARCH),SunOS)
 MODULE_OPTIMIZE_FLAGS = -xO4
 endif
 ifeq ($(OS_ARCH),WINNT)