зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
b061c09b04
Коммит
a0dfc48e10
|
@ -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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче