m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT.

* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
	instead of gen_rtx_CONST_INT.

From-SVN: r77054
This commit is contained in:
Kazu Hirata 2004-01-31 22:58:46 +00:00 committed by Kazu Hirata
parent 400ce94ca1
commit aeba8f806e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-01-31 Kazu Hirata <kazu@cs.umass.edu>
* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
instead of gen_rtx_CONST_INT.
2004-01-31 Kazu Hirata <kazu@cs.umass.edu>
* config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT

View File

@ -1917,7 +1917,7 @@ m32r_load_pic_register (void)
{
global_offset_table = gen_rtx_SYMBOL_REF (Pmode, "_GLOBAL_OFFSET_TABLE_");
emit_insn (gen_get_pc (pic_offset_table_rtx, global_offset_table,
gen_rtx_CONST_INT(SImode, TARGET_MODEL_SMALL)));
GEN_INT (TARGET_MODEL_SMALL)));
/* Need to emit this whether or not we obey regdecls,
since setjmp/longjmp can cause life info to screw up. */