Commit 779c643a by Jim Wilson

(emit_library_call_value): Move is_const set after ifdef.

From-SVN: r6995
parent e4493c04
...@@ -2430,9 +2430,6 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, ...@@ -2430,9 +2430,6 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
decide where in memory it should come back. */ decide where in memory it should come back. */
if (aggregate_value_p (type_for_mode (outmode, 0))) if (aggregate_value_p (type_for_mode (outmode, 0)))
{ {
/* This call returns a big structure. */
is_const = 0;
#ifdef PCC_STATIC_STRUCT_RETURN #ifdef PCC_STATIC_STRUCT_RETURN
rtx pointer_reg rtx pointer_reg
= hard_function_value (build_pointer_type (type_for_mode (outmode, 0)), = hard_function_value (build_pointer_type (type_for_mode (outmode, 0)),
...@@ -2448,6 +2445,9 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, ...@@ -2448,6 +2445,9 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
else else
mem_value = assign_stack_temp (outmode, GET_MODE_SIZE (outmode), 0); mem_value = assign_stack_temp (outmode, GET_MODE_SIZE (outmode), 0);
#endif #endif
/* This call returns a big structure. */
is_const = 0;
} }
/* ??? Unfinished: must pass the memory address as an argument. */ /* ??? Unfinished: must pass the memory address as an argument. */
......
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