aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2012-03-05 20:19:28 +0100
committergrischka <grischka>2012-03-05 20:19:28 +0100
commitae191c3a619db25e3c9d4b6c89d1a9970563d825 (patch)
tree0afe1cbf47699efbb46c81beccfea0f44fa3d23d /tcc.h
parenta35b3059bb0aaaa5965022ad317aaba27e22f148 (diff)
downloadtinycc-ae191c3a619db25e3c9d4b6c89d1a9970563d825.tar.gz
tinycc-ae191c3a619db25e3c9d4b6c89d1a9970563d825.tar.bz2
x86_64: fix loading of LLOCAL floats
See also commit 9527c4949fd94adb2567229413c70c19b663a118 On x86_64 we need to extend the reg_classes array because load() is called for (at least) R11 too, which was not part of reg_classes previously.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcc.h b/tcc.h
index a5ae144..bfd7e9c 100644
--- a/tcc.h
+++ b/tcc.h
@@ -1358,7 +1358,7 @@ ST_FUNC void *resolve_sym(TCCState *s1, const char *symbol);
#endif
#undef TARGET_DEFS_ONLY
-ST_DATA const int reg_classes[NB_REGS];
+ST_DATA const int reg_classes[];
/********************************************************/
#undef ST_DATA