Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/cgen.h')
-rw-r--r--include/opcode/cgen.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h
index b7e82d4dd..d72a0abc9 100644
--- a/include/opcode/cgen.h
+++ b/include/opcode/cgen.h
@@ -129,7 +129,7 @@ typedef union
typedef struct
{
/* Boolean attributes. */
- unsigned int bool_;
+ unsigned int bool;
/* Non-boolean integer attributes. */
CGEN_ATTR_VALUE_TYPE nonbool[1];
} CGEN_ATTR;
@@ -140,12 +140,12 @@ typedef struct
in one host int). */
#define CGEN_ATTR_TYPE(n) \
-struct { unsigned int bool_; \
+struct { unsigned int bool; \
CGEN_ATTR_VALUE_TYPE nonbool[(n) ? (n) : 1]; }
/* Return the boolean attributes. */
-#define CGEN_ATTR_BOOLS(a) ((a)->bool_)
+#define CGEN_ATTR_BOOLS(a) ((a)->bool)
/* Non-boolean attribute numbers are offset by this much. */
@@ -982,7 +982,7 @@ typedef CGEN_ATTR_TYPE (CGEN_INSN_NBOOL_ATTRS) CGEN_INSN_ATTR_TYPE;
typedef enum cgen_insn_attr {
CGEN_INSN_ALIAS = 0
} CGEN_INSN_ATTR;
-#define CGEN_ATTR_CGEN_INSN_ALIAS_VALUE(attrs) ((attrs)->bool_ & (1 << CGEN_INSN_ALIAS))
+#define CGEN_ATTR_CGEN_INSN_ALIAS_VALUE(attrs) ((attrs)->bool & (1 << CGEN_INSN_ALIAS))
#endif
/* This struct defines each entry in the instruction table. */