nvptx.c (nvptx_function_arg, [...]): Move earlier.
authorNathan Sidwell <nathan@acm.org>
Thu, 10 Dec 2015 20:13:14 +0000 (20:13 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 10 Dec 2015 20:13:14 +0000 (20:13 +0000)
commite74f7152e87f9c7b66c3af0e58b70fcd6f9cb042
tree8c7dbd1010cffa0b680d87fa6087e4d6e9c0226f
parent35bd8e8fb68675f42f407cf47b2e8df1cd0110e2
nvptx.c (nvptx_function_arg, [...]): Move earlier.

* config/nvptx/nvptx.c (nvptx_function_arg,
nvptx_function_incoming_arg, nvptx_function_arg_advance,
nvptx_strict_argument_naming, nvptx_function_arg_boundary,
nvptx_libcall_value, nvptx_function_value,
nvptx_function_value_regno_p, nvptx_pass_by_reference,
nvptx_return_in_memory, nvptx_promote_function_mode,
nvptx_static_chain): Move earlier.
(write_one_arg): Break out as helper fn for ...
(write_arg): ... this new function.  Adjust all callers.

From-SVN: r231543
gcc/ChangeLog
gcc/config/nvptx/nvptx.c