From: Dave Brolley <brolley@redhat.com>
To: cgen@sources.redhat.com, sid@sources.redhat.com
Subject: [patch][commit] Duplicate Function Removed
Date: Tue, 20 Jun 2006 19:53:00 -0000 [thread overview]
Message-ID: <44985235.6020306@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 163 bytes --]
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
[-- Attachment #2: cgen-sid-attr.ChangeLog --]
[-- Type: text/plain, Size: 86 bytes --]
2006-06-20 Dave Brolley <brolley@redhat.com>
* sid.scm (gen-attr-type): Removed.
[-- Attachment #3: cgen-sid-attr.patch.txt --]
[-- Type: text/plain, Size: 793 bytes --]
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 ****
\f
; 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 ----
reply other threads:[~2006-06-20 19:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=44985235.6020306@redhat.com \
--to=brolley@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=sid@sources.redhat.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).