Bug 593116 - Use -fomit-frame-pointer when compiling jsinterp.c. r=ted, a2.0=sayrer

--HG--
extra : rebase_source : 811ba3d12c513ee8fe8d16a3557ce01e4a8f2504
This commit is contained in:
Justin Lebar 2010-09-10 11:45:15 -07:00
Родитель b061c09b04
Коммит a0dfc48e10
1 изменённых файлов: 1 добавлений и 9 удалений

Просмотреть файл

@ -85,12 +85,9 @@ 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 -fomit-frame-pointer $(MOZ_OPTIMIZE_SIZE_TWEAK)
# Special optimization flags for jsinterp.c
INTERP_OPTIMIZER = -O3 -fstrict-aliasing
MODULE_OPTIMIZE_FLAGS = -O3 -fstrict-aliasing -fomit-frame-pointer
endif
else # not GNU_CXX
ifeq ($(OS_ARCH),SunOS)
@ -700,11 +697,6 @@ else
endif # sparcv9
endif # SOLARIS_SUNPRO_CXX
# Allow building jsinterp.c with special optimization flags
ifdef INTERP_OPTIMIZER
jsinterp.$(OBJ_SUFFIX): MODULE_OPTIMIZE_FLAGS=$(INTERP_OPTIMIZER)
endif
ifeq ($(OS_ARCH),IRIX)
ifndef GNU_CC
_COMPILE_CFLAGS = $(patsubst -O%,-O1,$(COMPILE_CFLAGS))