mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0.

* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
of explicit 0.

From-SVN: r33327
This commit is contained in:
Alexandre Oliva 2000-04-21 21:34:19 +00:00 committed by Alexandre Oliva
parent df6aa9bce7
commit 7f13af23a5
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
of explicit 0.
Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more

View file

@ -274,8 +274,9 @@ enum reg_class {
#define REGNO_REG_CLASS(REGNO) \
((REGNO) < 4 ? DATA_REGS : \
(REGNO) < 9 ? ADDRESS_REGS : \
(REGNO) == 9 ? SP_REGS : \
(REGNO) < 18 ? EXTENDED_REGS : 0)
(REGNO) == 9 ? SP_REGS : \
(REGNO) < 18 ? EXTENDED_REGS : \
NO_REGS)
/* The class value for index registers, and the one for base regs. */
#define INDEX_REG_CLASS DATA_OR_EXTENDED_REGS