m32c.h (CLASS_MAX_NREGS): Remove macro.
authorAnatoly Sokolov <aesok@post.ru>
Mon, 22 Aug 2011 20:26:26 +0000 (00:26 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Mon, 22 Aug 2011 20:26:26 +0000 (00:26 +0400)
commitc4831cff11fca2cee74ea2d039070a9507f13779
treeaae9fef3887d712b43ee7f9d6e459b6f750cd145
parent8b46e440e312cf2f6c01422ec7c6446b21ada9e8
m32c.h (CLASS_MAX_NREGS): Remove macro.

* config/m32c/m32c.h (CLASS_MAX_NREGS): Remove macro.
* config/m32c/m32c-protos.h (m32c_class_max_nregs): Remove.
* config/m32c/m32c.c (m32c_class_max_nregs): Make static. Change
regclass argument type to reg_class_t. Change 'max' and 'v' vars
and return types to unsigned char. Use reg_class_contents instead
of class_contents.
(TARGET_CLASS_MAX_NREGS): Define.

From-SVN: r177971
gcc/ChangeLog
gcc/config/m32c/m32c-protos.h
gcc/config/m32c/m32c.c
gcc/config/m32c/m32c.h