From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31661 invoked by alias); 23 Nov 2004 22:56:47 -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 31624 invoked from network); 23 Nov 2004 22:56:40 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sourceware.org with SMTP; 23 Nov 2004 22:56:40 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id iANN3Wlj007019 for ; Tue, 23 Nov 2004 15:03:32 -0800 (PST) Received: from relay2.apple.com (relay2.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.3.14) with ESMTP id for ; Tue, 23 Nov 2004 14:57:25 -0800 Received: from [17.201.24.57] (polskifiat.apple.com [17.201.24.57]) by relay2.apple.com (8.12.11/8.12.11) with ESMTP id iANMubOs029751; Tue, 23 Nov 2004 14:56:38 -0800 (PST) In-Reply-To: <117D8646-3D82-11D9-827E-000A95B1F520@apple.com> References: <117D8646-3D82-11D9-827E-000A95B1F520@apple.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: Geoffrey Keating From: Ziemowit Laski Subject: Re: objc data structure design Date: Tue, 23 Nov 2004 23:00:00 -0000 To: gcc list X-SW-Source: 2004-11/txt/msg00859.txt.bz2 On 23 Nov 2004, at 11.01, Geoffrey Keating wrote: > Index: c-tree.h > =================================================================== > RCS file: /cvs/gcc/gcc/gcc/c-tree.h,v > retrieving revision 1.187 > diff -u -p -u -p -r1.187 c-tree.h > --- c-tree.h 11 Nov 2004 23:13:10 -0000 1.187 > +++ c-tree.h 23 Nov 2004 18:54:26 -0000 > @@ -73,6 +73,8 @@ struct lang_type GTY(()) > /* In an ENUMERAL_TYPE, the min and max values. */ > tree enum_min; > tree enum_max; > + /* In a RECORD_TYPE, . */ > + tree objc_protocol; > }; > > /* Record whether a type or decl was written with nonconstant size. > Index: cp/cp-tree.h > =================================================================== > RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v > retrieving revision 1.1070 > diff -u -p -u -p -r1.1070 cp-tree.h > --- cp/cp-tree.h 10 Nov 2004 17:34:47 -0000 1.1070 > +++ cp/cp-tree.h 23 Nov 2004 18:54:28 -0000 > @@ -1060,6 +1060,9 @@ struct lang_type_class GTY(()) > tree decl_list; > tree template_info; > tree befriending_classes; > + > + /* . */ > + tree objc_protocol; > }; > > struct lang_type_ptrmem GTY(()) > Just wanted to confirm that I will indeed do this, albeit next week (this week we have Thanksgiving in the U.S.). :-) Also, I'd like to encourage those of you on non-Darwin platforms who suspect that adding these two fields might hurt compile-time performance to try this patch out on your systems. --Zem