public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [RFC, PATCH 1/n] IPA C++ refactoring
Date: Thu, 10 Jul 2014 11:44:00 -0000	[thread overview]
Message-ID: <53BE7C94.3010909@suse.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

Hi,
    this first patch continues with rafactoring of IPA infrastructure so that we will have C++ API. In the patch, I transformed many global functions to members of symtab_node and cgraph_node.

Example:
cgraph_remove_node (struct cgraph_node *node) -> cgraph_node::remove (void)
symtab_unregister_node (symtab_node *node) -> symtab_node::unregister (void)

The patch is being consulted with Honza and will iterate. We want to inform folk that we plan to do following changes.

After the patch is applied, I would like to transform varpool_node and cgraph_edge in the following patch.

Thank you for your comments,
Martin

[-- Attachment #2: ipa-ref-symtab-node2.patch.bz2 --]
[-- Type: application/x-bzip, Size: 71775 bytes --]

             reply	other threads:[~2014-07-10 11:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-10 11:44 Martin Liška [this message]
2014-07-11 10:07 ` Jan Hubicka
2014-07-14 17:18   ` Martin Liška
2014-07-15 10:24     ` Jan Hubicka
2014-07-16 12:03       ` Martin Liška
2014-07-17 12:23         ` Jan Hubicka
2014-07-17 14:08         ` Martin Liška

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53BE7C94.3010909@suse.cz \
    --to=mliska@suse.cz \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).