Commit 0cf91217 by Richard Kenner

(store_one_arg): Use int_size_in_bytes and expr_size when appropriate

instead of size_in_bytes.

From-SVN: r3863
parent 77e67eac
......@@ -2794,12 +2794,11 @@ store_one_arg (arg, argblock, may_be_alloca, variable_size, fndecl,
}
else
{
register tree size = size_in_bytes (TREE_TYPE (pval));
/* PUSH_ROUNDING has no effect on us, because
emit_push_insn for BLKmode is careful to avoid it. */
excess = (arg->size.constant - TREE_INT_CST_LOW (size)
excess = (arg->size.constant - int_size_in_bytes (TREE_TYPE (pval))
+ partial * UNITS_PER_WORD);
size_rtx = expand_expr (size, NULL_RTX, VOIDmode, 0);
size_rtx = expr_size (TREE_TYPE (pval));
}
emit_push_insn (arg->value, arg->mode, TREE_TYPE (pval), size_rtx,
......
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