зеркало из https://github.com/mozilla/gecko-dev.git
Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones]
This commit is contained in:
Родитель
300196ee5f
Коммит
9a97cc1996
|
@ -16,12 +16,13 @@ namespace mozilla {
|
|||
namespace gfx {
|
||||
|
||||
# if defined(MOZILLA_MAY_SUPPORT_NEON)
|
||||
void __attribute((noinline)) yuv42x_to_rgb565_row_neon(uint16 *dst,
|
||||
const uint8 *y,
|
||||
const uint8 *u,
|
||||
const uint8 *v,
|
||||
int n,
|
||||
int oddflag)
|
||||
void __attribute((noinline,optimize("-fomit-frame-pointer")))
|
||||
yuv42x_to_rgb565_row_neon(uint16 *dst,
|
||||
const uint8 *y,
|
||||
const uint8 *u,
|
||||
const uint8 *v,
|
||||
int n,
|
||||
int oddflag)
|
||||
{
|
||||
static __attribute__((aligned(16))) uint16 acc_r[8] = {
|
||||
22840, 22840, 22840, 22840, 22840, 22840, 22840, 22840,
|
||||
|
|
|
@ -52,6 +52,7 @@ ifdef MOZ_THUMB2 #{
|
|||
# work around it by telling gcc that the THUMB frame pointer is a
|
||||
# vanilla callee-save register.
|
||||
OS_CXXFLAGS += -fomit-frame-pointer
|
||||
MOZ_OPTIMIZE_FLAGS := $(filter-out -fno-omit-frame-pointer,$(MOZ_OPTIMIZE_FLAGS))
|
||||
endif #}
|
||||
|
||||
MODULE = handler
|
||||
|
|
Загрузка…
Ссылка в новой задаче