summaryrefslogtreecommitdiff
path: root/gcc/config/rl78
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-16 23:16:28 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-16 23:16:28 +0000
commitc7e75c4532c772a1370350cba4a4a41dd8c64ca1 (patch)
tree652313a32a88af764f40784d92198381a424ced2 /gcc/config/rl78
parent3d2901ee852530ea81564dd60358253a05675806 (diff)
downloadgcc-c7e75c4532c772a1370350cba4a4a41dd8c64ca1.tar.gz
* system.h: Poison SMALL_REGISTER_CLASSES
* config/rl78/rl78.h: Replace SMALL_REGISTER_CLASSES with hook. * config/rx/rx.h: Remove SMALL_REGISTER_CLASSES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rl78')
-rw-r--r--gcc/config/rl78/rl78.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rl78/rl78.h b/gcc/config/rl78/rl78.h
index 5980c418843..dba4b1cb2fb 100644
--- a/gcc/config/rl78/rl78.h
+++ b/gcc/config/rl78/rl78.h
@@ -258,7 +258,7 @@ enum reg_class
{ 0xff7fffff, 0x0000001f } /* All registers. */ \
}
-#define SMALL_REGISTER_CLASSES 1
+#define TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P hook_bool_mode_true
#define N_REG_CLASSES (int) LIM_REG_CLASSES
#define CLASS_MAX_NREGS(CLASS, MODE) ((GET_MODE_SIZE (MODE) \
+ UNITS_PER_WORD - 1) \