aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386-gen.c b/i386-gen.c
index 2edbe2f..61f9e78 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -42,7 +42,7 @@ enum {
TREG_ST0,
};
-int reg_classes[NB_REGS] = {
+const int reg_classes[NB_REGS] = {
/* eax */ RC_INT | RC_EAX,
/* ecx */ RC_INT | RC_ECX,
/* edx */ RC_INT | RC_EDX,