Commit d6c0e1c8 by Richard Henderson Committed by Richard Henderson

* rtl.c (rtx_alloc): Use memset instead of inline loop.

From-SVN: r24632
parent 08b8d8e5
Tue Jan 12 01:30:19 1999 Richard Henderson <rth@cygnus.com>
* rtl.c (rtx_alloc): Use memset instead of inline loop.
Tue Jan 12 00:23:31 1999 Richard Henderson <rth@cygnus.com> Tue Jan 12 00:23:31 1999 Richard Henderson <rth@cygnus.com>
* function.c (purge_addressof_1): If the note accesses a mem+addressof * function.c (purge_addressof_1): If the note accesses a mem+addressof
......
...@@ -254,9 +254,7 @@ rtx_alloc (code) ...@@ -254,9 +254,7 @@ rtx_alloc (code)
one int, but we don't want to assume that and it isn't very portable one int, but we don't want to assume that and it isn't very portable
anyway; this is. */ anyway; this is. */
length = (sizeof (struct rtx_def) - sizeof (rtunion) - 1) / sizeof (int); memset (rt, 0, sizeof (struct rtx_def) - sizeof (rtunion));
for (; length >= 0; length--)
((int *) rt)[length] = 0;
PUT_CODE (rt, code); PUT_CODE (rt, code);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment