forked from len0rd/rockbox
Make skin_render_playlistviewer() noinline. This function uses lots of stack (around 1 kilobyte), and is called from a recursive function. gcc's stack allocation strategy makes the calling function then use all this stack space when inlining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28231 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d0bf13b486
commit
561999ebff
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ void skin_render(struct gui_wps *gwps, unsigned refresh_mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
static void skin_render_playlistviewer(struct playlistviewer* viewer,
|
static __attribute__((noinline)) void skin_render_playlistviewer(struct playlistviewer* viewer,
|
||||||
struct gui_wps *gwps,
|
struct gui_wps *gwps,
|
||||||
struct skin_viewport* skin_viewport,
|
struct skin_viewport* skin_viewport,
|
||||||
unsigned long refresh_type)
|
unsigned long refresh_type)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue