Commit Graph

2 Commits

Author SHA1 Message Date
Jonas Maebe
5af40f22e8 * handle enums with a packenum setting that is larger than necessary to store
all of their values, when kept in a bitpacked array, properly via
    pass_typecheck rather than hacking location.size in pass_generate_code:
   o the old fix was incomplete (it didn't handle non-constant indices)
   o the old fix didn't work for llvm (since it uses defs rather than
     location.size)

git-svn-id: trunk@33943 -
2016-06-09 22:00:14 +00:00
Jonas Maebe
cc6a91a9bc * fixed packed arrays of enums in case of packenum 2/4
git-svn-id: trunk@4674 -
2006-09-21 14:46:32 +00:00