public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mark Mitchell <mark@codesourcery.com>
To: Per Bothner <per@bothner.com>
Cc: Andrew Haley <aph@cambridge.redhat.com>,
	Fergus Henderson <fjh@cs.mu.OZ.AU>,
	"gcc@gcc.gnu.org" <gcc@gcc.gnu.org>,
	"java@gcc.gnu.org" <java@gcc.gnu.org>
Subject: Re: RFC: Java inliner
Date: Wed, 12 Jun 2002 06:38:00 -0000	[thread overview]
Message-ID: <5620000.1023887664@warlock.codesourcery.com> (raw)
In-Reply-To: <3D07096A.5010102@bothner.com>



--On Wednesday, June 12, 2002 01:42:18 AM -0700 Per Bothner 
<per@bothner.com> wrote:

> Mark Mitchell wrote:
>> The right thing to do is clear: convert the Java front end to use trees
>> that are more like the C/C++ trees.
>
> Let us recap:

I deliberately tried to avoid reopening this issue.  The whole IF_STMT
vs. COND_EXPR debate isn't relevant at this point.  We are where we are.

We could have the argument about *why* we are here again -- but I don't
think anybody cares.  Lots of people (including me) think the C/C++
representation is better; at least some people (including you) think
the Java representation is better.  That's OK.

Reopening that -- and adding fuel to the fire by talking about who did
what to whom -- just isn't productive.

> I believe the right thing to do in the short term is extend the C/C++
> inliner to understand the Java trees.  Almost all of the tree codes
> encountered will be generic tree codes defined in tree.def.

If that is true -- and if languages other than Java are actually using
these tree codes -- that is fine.

The current inliner already has mechanisms for language-specific
extensions.  If those can be used, or it can be easily extended so that
they can be used, great.

The contention was that the current inliner could *not* be used, and that
an entirely new one had to be written.  It would be better to change the
Java front end as necessary to make the current inliner usable than to
write a new one.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com

  parent reply	other threads:[~2002-06-12 13:15 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-11  7:00 Andrew Haley
2002-06-11  7:25 ` Daniel Berlin
2002-06-11  7:26   ` Andrew Haley
2002-06-11  7:56 ` Fergus Henderson
2002-06-11  9:18   ` Andrew Haley
2002-06-11  9:49     ` Joe Buck
2002-06-11 10:59       ` Andrew Haley
2002-06-11 11:29         ` Diego Novillo
2002-06-11 22:36     ` Mark Mitchell
2002-06-12  2:24       ` Per Bothner
2002-06-12  4:47         ` Andrew Haley
2002-06-12  6:38         ` Mark Mitchell [this message]
2002-06-12  8:45           ` Andrew Haley
2002-06-12  9:13             ` Daniel Berlin
2002-06-12  9:28               ` Daniel Berlin
2002-07-01 11:21           ` Andrew Haley
2002-07-01 11:29             ` Andrew Haley
2002-07-01 11:56             ` RFC: " Daniel Berlin
2002-07-01 11:58               ` Andrew Haley
2002-07-10  5:16                 ` Alexandre Oliva
2002-07-10  7:08                   ` Andrew Haley
2002-07-10  7:10                     ` Alexandre Oliva
2002-07-10  7:32                       ` Andrew Haley
2002-07-10 13:41                         ` Alexandre Oliva
2002-07-30  9:43                           ` Andrew Haley
2002-08-12 10:37                             ` Tom Tromey
2002-08-12 10:42                               ` Andrew Haley
2002-07-10  9:00                   ` Tom Tromey
2002-06-11  8:39 ` profiling shared libraries Taha Mannan Jiruwala

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=5620000.1023887664@warlock.codesourcery.com \
    --to=mark@codesourcery.com \
    --cc=aph@cambridge.redhat.com \
    --cc=fjh@cs.mu.OZ.AU \
    --cc=gcc@gcc.gnu.org \
    --cc=java@gcc.gnu.org \
    --cc=per@bothner.com \
    /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).