aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
authorgrischka <grischka>2009-07-18 22:07:42 +0200
committergrischka <grischka>2009-07-18 22:07:42 +0200
commitc998985c744549292ba4abe077aee3950548b083 (patch)
tree671d8f2e10ae9c691d3301a76a29b306e6b4020a /i386-gen.c
parent94ae3984b0d4d3d78975d3bd48810cd5b6381618 (diff)
downloadtinycc-c998985c744549292ba4abe077aee3950548b083.tar.gz
tinycc-c998985c744549292ba4abe077aee3950548b083.tar.bz2
cleanup: constify some global data
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,