From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20159 invoked by alias); 1 Jul 2002 18:56:38 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 20129 invoked from network); 1 Jul 2002 18:56:37 -0000 Received: from unknown (HELO www.dberlin.org) (138.88.49.178) by sources.redhat.com with SMTP; 1 Jul 2002 18:56:37 -0000 Received: by www.dberlin.org (Postfix, from userid 503) id C1D0F184CF9B; Mon, 1 Jul 2002 14:56:36 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by www.dberlin.org (Postfix) with ESMTP id 0290D184CF97; Mon, 1 Jul 2002 14:56:31 -0400 (EDT) Date: Mon, 01 Jul 2002 11:56:00 -0000 From: Daniel Berlin To: Andrew Haley Cc: Mark Mitchell , Per Bothner , Fergus Henderson , "gcc@gcc.gnu.org" , "java@gcc.gnu.org" Subject: Re: RFC: Java inliner In-Reply-To: <15648.40350.493795.623862@cuddles.cambridge.redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.6 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT,NO_MX_FOR_FROM,AWL version=2.30 X-Spam-Level: X-SW-Source: 2002-07/txt/msg00026.txt.bz2 On Mon, 1 Jul 2002, Andrew Haley wrote: > Mark Mitchell writes: > > > > 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. > > Well I tried, I really did. But the inliner we have at the moment > uses C-private tree nodes to such an extent that I think it isn't > possible without totally messing up the code. I could replace every > occurrence of these nodes with macros or function pointers, but the > result would not be pretty. The real answer in the long term is, of > course, SIMPLE. Is the java inliner usable in languages other than java (IE could we replace the current c-inliner with your java inliner)? Or did you do the same thing, and create java specific nodes? > > Andrew. > >