Re: [patch] Speed up find_pc_section

Mark Kettenis
2009-09-11T07:40:31Z

> Date: Fri, 11 Sep 2009 00:29:19 -0700
> From: Paul Pluzhnikov <ppluzhnikov@google.com>
>
> if (sect1_addr < sect2_addr)
> return -1;
> else if (sect1_addr > sect2_addr)
> return 1;
>
> - return 0;
> + if (sect1->objfile->mtime < sect2->objfile->mtime) return -1;
> + if (sect1->objfile->mtime > sect2->objfile->mtime) return 1;
> + return 0;
> }

This snippet caught my eye. Please put those return statements on a
line of their own.