This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
CGEN_BITSET
- From: Doug Evans <dje at sebabeach dot org>
- To: brolley at redhat dot com, cgen at sourceware dot org
- Date: Sat, 20 Jun 2009 15:39:00 -0700
- Subject: CGEN_BITSET
Treating "isa" specially is a bit of a hack. What's the story behind
CGEN_BITSET?
(define (gen-attr-type attr)
(if (string=? (string-downcase (gen-sym attr)) "isa")
"CGEN_BITSET"
(case (attr-kind attr)
((boolean) "int")
((bitset) "unsigned int")
((integer) "int")
((enum) (string-append "enum " (string-downcase (gen-sym
attr)) "_attr"))
))
)