This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Xtensa] Remove call to memset
- From: Sterling Augustine <sterling at tensilica dot com>
- To: <binutils at sourceware dot org>
- Date: Thu, 11 Feb 2010 11:09:22 -0800
- Subject: [Xtensa] Remove call to memset
The tiny attached patch which I have committed removes an extraneous
call to memset.
Sterling
2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
* config/tc-xtensa.c (istack_init): Don't call memset.
*** tc-xtensa.c 11 Feb 2010 10:25:14 -0800 1.123
--- tc-xtensa.c 11 Feb 2010 11:05:38 -0800
***************
*** 11203,11209 ****
void
istack_init (IStack *stack)
{
- memset (stack, 0, sizeof (IStack));
stack->ninsn = 0;
}
--- 11203,11208 ----