linux-mips
[Top] [All Lists]

Re: [PATCH 7/7] Allow unwind_stack() to return ra for leaf function

To: vagabon.xyz@gmail.com
Subject: Re: [PATCH 7/7] Allow unwind_stack() to return ra for leaf function
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 03 Aug 2006 13:52:31 +0900 (JST)
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <44D0D942.5050809@innova-card.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <44D0A3B0.40601@innova-card.com> <20060803.010000.25909906.anemo@mba.ocn.ne.jp> <44D0D942.5050809@innova-card.com>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 02 Aug 2006 18:56:34 +0200, Franck Bui-Huu <vagabon.xyz@gmail.com> 
wrote:
> > Just one comment: no need to do "pc = pc != ra ? ra : 0" anymore.
> > Just "pc = ra" is enough, isn't it?
> 
> Well I let it just for cases where the caller does not reset ra
> after the first call. It should be safter. But I can remove it if
> you want.

OK, I see.  No problem.

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>