From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23494 invoked by alias); 20 Jun 2006 19:53:34 -0000 Received: (qmail 23478 invoked by uid 22791); 20 Jun 2006 19:53:33 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Jun 2006 19:53:28 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5KJrQUj018270; Tue, 20 Jun 2006 15:53:26 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5KJrPFV002170; Tue, 20 Jun 2006 15:53:26 -0400 Received: from [172.16.14.227] (IDENT:acjyLbUTh+Yh/+yhzgR/rG8NWrq3CuA4@topaz.toronto.redhat.com [172.16.14.227]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k5KJrPve029809; Tue, 20 Jun 2006 15:53:25 -0400 Message-ID: <44985235.6020306@redhat.com> Date: Tue, 20 Jun 2006 19:53:00 -0000 From: Dave Brolley User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) MIME-Version: 1.0 To: cgen@sources.redhat.com, sid@sources.redhat.com Subject: [patch][commit] Duplicate Function Removed Content-Type: multipart/mixed; boundary="------------020203080807070102010400" X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00046.txt.bz2 This is a multi-part message in MIME format. --------------020203080807070102010400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 163 Hi, I've committed the attached patch which removes the version of gen-attr-type from sid.scm. The one in utils-cgen.scm is correct for both sim and sid. Dave --------------020203080807070102010400 Content-Type: text/plain; name="cgen-sid-attr.ChangeLog" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cgen-sid-attr.ChangeLog" Content-length: 86 2006-06-20 Dave Brolley * sid.scm (gen-attr-type): Removed. --------------020203080807070102010400 Content-Type: text/plain; name="cgen-sid-attr.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cgen-sid-attr.patch.txt" Content-length: 793 Index: sid.scm =================================================================== RCS file: /cvs/src/src/cgen/sid.scm,v retrieving revision 1.16 diff -c -p -r1.16 sid.scm *** sid.scm 28 Oct 2005 19:30:02 -0000 1.16 --- sid.scm 20 Jun 2006 19:48:15 -0000 *************** *** 170,186 **** ; Attribute support. - ; Return the C++ type to use to hold a value for attribute ATTR. - - (define (gen-attr-type attr) - (case (attr-kind attr) - ((boolean) "int") - ((bitset) "unsigned int") - ((integer) "int") - ((enum) (string-append "enum " (string-downcase (gen-sym attr)) "_attr")) - ) - ) - ; Return C code to fetch a value from instruction memory. ; PC-VAR is the C expression containing the address of the start of the ; instruction. --- 170,175 ---- --------------020203080807070102010400--