public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [gc-improv] Convert SPARC backend
@ 2009-11-23 13:04 Laurynas Biveinis
  0 siblings, 0 replies; only message in thread
From: Laurynas Biveinis @ 2009-11-23 13:04 UTC (permalink / raw)
  To: gcc-patches

Bootstrapped and regtested under sparc64-unknown-linux-gnu, commited
to gc-improv.

-- 
Laurynas

2009-11-23  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

        * config/sparc/sparc.c (sparc_init_machine_status): Use typed GC
        allocation.


Index: config/sparc/sparc.c
===================================================================
--- config/sparc/sparc.c        (revision 154027)
+++ config/sparc/sparc.c        (working copy)
@@ -8985,7 +8985,7 @@
 static struct machine_function *
 sparc_init_machine_status (void)
 {
-  return GGC_CNEW (struct machine_function);
+  return ggc_alloc_cleared_machine_function ();
 }

 /* Locate some local-dynamic symbol still in use by this function

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-23 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-23 13:04 [gc-improv] Convert SPARC backend Laurynas Biveinis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).