Commit c60a3c2f by Richard Kenner

(ASM_DECLARE_FUNCTION_NAME): If a parameter's type has TYPE_NEEDS_CONSTRUCTING on...

(ASM_DECLARE_FUNCTION_NAME): If a parameter's type has
TYPE_NEEDS_CONSTRUCTING on, then it's passed by invisible reference.

From-SVN: r10371
parent 9a8e74f0
......@@ -1067,7 +1067,8 @@ extern enum cmp_type hppa_branch_type;
DECL_ARG_TYPE (parm)); \
/* Passing structs by invisible reference uses \
one general register. */ \
if (arg_size > 2) \
if (arg_size > 2 \
|| TYPE_NEEDS_CONSTRUCTING (DECL_ARG_TYPE (parm)))\
arg_size = 1; \
if (arg_size == 2 && i <= 2) \
{ \
......
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