diff options
author | Marcin Dalecki <martin@dalecki.de> | 2006-01-31 05:44:14 +0100 |
---|---|---|
committer | Marcin Dalecki <dalecki@gcc.gnu.org> | 2006-01-31 05:44:14 +0100 |
commit | 842173466d766db080cbc9e837988e31b453d05f (patch) | |
tree | 192fa663854a8c88d61fa5a51c2091381047e15d /gcc/expr.h | |
parent | 4536bcac6522406e0c4f2a79aee0451d8985a56f (diff) | |
download | gcc-842173466d766db080cbc9e837988e31b453d05f.zip gcc-842173466d766db080cbc9e837988e31b453d05f.tar.gz gcc-842173466d766db080cbc9e837988e31b453d05f.tar.bz2 |
expr.h (expand_normal): new inline function.
2006-01-30 Marcin Dalecki <martin@dalecki.de>
* expr.h (expand_normal): new inline function.
* builtins.c: use it, use EXPAND_NORMAL explicitely.
* dojump.c: use it.
* dwarf2out.c: use it.
* expr.c: use it.
* calls.c: use it.
* expmed.c: use it.
* except.c: use it.
* config/sparc/sparc.c: use it.
* config/i386/i386.c: use it.
* config/rs6000/rs6000.c: use it.
* config/arm/arm.c: use it.
* config/mips/mips.c: use it.
* stmt.c: use it, use EXPAND_NORMAL explicitely.
From-SVN: r110428
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -158,7 +158,7 @@ do { \ /* Convert the implicit sum in a `struct args_size' into an rtx. */ #define ARGS_SIZE_RTX(SIZE) \ ((SIZE).var == 0 ? GEN_INT ((SIZE).constant) \ - : expand_expr (ARGS_SIZE_TREE (SIZE), NULL_RTX, VOIDmode, 0)) + : expand_normal (ARGS_SIZE_TREE (SIZE))) /* Supply a default definition for FUNCTION_ARG_PADDING: usually pad upward, but pad short args downward on @@ -493,6 +493,12 @@ expand_expr (tree exp, rtx target, enum machine_mode mode, return expand_expr_real (exp, target, mode, modifier, NULL); } +static inline rtx +expand_normal (tree exp) +{ + return expand_expr_real (exp, NULL_RTX, VOIDmode, EXPAND_NORMAL, NULL); +} + extern void expand_var (tree); /* At the start of a function, record that we have no previously-pushed |