aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-01-16 16:23:46 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-18 15:03:56 -0800
commitfee71888a29ab9f31b23386383812a4f5c953829 (patch)
treeb36050dd93b7fb2c5be7cd127cac04a0b09bce16 /target-i386/cpu.h
parentc7b3c87397a3458d3d26499c483e0badaf79849c (diff)
target-i386: Name the cc_op enumeration
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index cd35cd52c0..8c4c605299 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -582,7 +582,7 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS];
#define CPU_INTERRUPT_TPR CPU_INTERRUPT_TGT_INT_3
-enum {
+typedef enum {
CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */
CC_OP_EFLAGS, /* all cc are explicitly computed, CC_SRC = flags */
@@ -637,7 +637,7 @@ enum {
CC_OP_SARQ,
CC_OP_NB,
-};
+} CCOp;
typedef struct SegmentCache {
uint32_t selector;