Commit 0cc1b879 by Kazu Hirata Committed by Kazu Hirata

* expr.h (expand_modifier): Define EXPAND_STACK_PARM as 1.

From-SVN: r92140
parent e8c66fe0
2004-12-14 Kazu Hirata <kazu@cs.umass.edu>
* expr.h (expand_modifier): Define EXPAND_STACK_PARM as 1.
2004-12-14 Richard Earnshaw <rearnsha@arm.com> 2004-12-14 Richard Earnshaw <rearnsha@arm.com>
PR target/18973 PR target/18973
......
...@@ -41,8 +41,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -41,8 +41,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* This is the 4th arg to `expand_expr'. /* This is the 4th arg to `expand_expr'.
EXPAND_STACK_PARM means we are possibly expanding a call param onto EXPAND_STACK_PARM means we are possibly expanding a call param onto
the stack. Choosing a value of 2 isn't special; It just allows the stack.
some code optimization in store_expr.
EXPAND_SUM means it is ok to return a PLUS rtx or MULT rtx. EXPAND_SUM means it is ok to return a PLUS rtx or MULT rtx.
EXPAND_INITIALIZER is similar but also record any labels on forced_labels. EXPAND_INITIALIZER is similar but also record any labels on forced_labels.
EXPAND_CONST_ADDRESS means it is ok to return a MEM whose address EXPAND_CONST_ADDRESS means it is ok to return a MEM whose address
...@@ -50,7 +49,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -50,7 +49,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
EXPAND_WRITE means we are only going to write to the resulting rtx. EXPAND_WRITE means we are only going to write to the resulting rtx.
EXPAND_MEMORY means we are interested in a memory result, even if EXPAND_MEMORY means we are interested in a memory result, even if
the memory is constant and we could have propagated a constant value. */ the memory is constant and we could have propagated a constant value. */
enum expand_modifier {EXPAND_NORMAL = 0, EXPAND_STACK_PARM = 2, EXPAND_SUM, enum expand_modifier {EXPAND_NORMAL = 0, EXPAND_STACK_PARM, EXPAND_SUM,
EXPAND_CONST_ADDRESS, EXPAND_INITIALIZER, EXPAND_WRITE, EXPAND_CONST_ADDRESS, EXPAND_INITIALIZER, EXPAND_WRITE,
EXPAND_MEMORY}; EXPAND_MEMORY};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment