This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]