Check Pmode to set adjust_stack_insn

2012-03-04  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_expand_prologue): Check Pmode to set
	adjust_stack_insn.

From-SVN: r184900
This commit is contained in:
H.J. Lu 2012-03-04 21:21:55 +00:00 committed by H.J. Lu
parent 5ca9708b16
commit 4732e8de03
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_expand_prologue): Check Pmode to set
adjust_stack_insn.
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_print_operand_address): Only handle

View File

@ -10330,7 +10330,7 @@ ix86_expand_prologue (void)
emit_insn (ix86_gen_allocate_stack_worker (eax, eax));
/* Use the fact that AX still contains ALLOCATE. */
adjust_stack_insn = (TARGET_64BIT
adjust_stack_insn = (Pmode == DImode
? gen_pro_epilogue_adjust_stack_di_sub
: gen_pro_epilogue_adjust_stack_si_sub);