diff options
Diffstat (limited to 'gcc/calls.c')
-rwxr-xr-x | gcc/calls.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 4c01729..e2a179e 100755 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1271,7 +1271,7 @@ expand_call (exp, target, ignore) /* Make a vector to hold all the information about each arg. */ args = (struct arg_data *) alloca (num_actuals * sizeof (struct arg_data)); - bzero ((char *) args, num_actuals * sizeof (struct arg_data)); + zero_memory ((char *) args, num_actuals * sizeof (struct arg_data)); args_size.constant = 0; args_size.var = 0; @@ -1747,11 +1747,11 @@ expand_call (exp, target, ignore) stack_usage_map = (char *) alloca (highest_outgoing_arg_in_use); if (initial_highest_arg_in_use) - bcopy (initial_stack_usage_map, stack_usage_map, + copy_memory (initial_stack_usage_map, stack_usage_map, initial_highest_arg_in_use); if (initial_highest_arg_in_use != highest_outgoing_arg_in_use) - bzero (&stack_usage_map[initial_highest_arg_in_use], + zero_memory (&stack_usage_map[initial_highest_arg_in_use], highest_outgoing_arg_in_use - initial_highest_arg_in_use); needed = 0; @@ -1819,7 +1819,7 @@ expand_call (exp, target, ignore) stack_arg_under_construction = 0; /* Make a new map for the new argument list. */ stack_usage_map = (char *)alloca (highest_outgoing_arg_in_use); - bzero (stack_usage_map, highest_outgoing_arg_in_use); + zero_memory (stack_usage_map, highest_outgoing_arg_in_use); highest_outgoing_arg_in_use = 0; } allocate_dynamic_stack_space (push_size, NULL_RTX, BITS_PER_UNIT); @@ -2416,7 +2416,7 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, library functions shouldn't have many args. */ argvec = (struct arg *) alloca (nargs * sizeof (struct arg)); - bzero ((char *) argvec, nargs * sizeof (struct arg)); + zero_memory ((char *) argvec, nargs * sizeof (struct arg)); INIT_CUMULATIVE_ARGS (args_so_far, NULL_TREE, fun, 0); @@ -2553,11 +2553,11 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, stack_usage_map = (char *) alloca (highest_outgoing_arg_in_use); if (initial_highest_arg_in_use) - bcopy (initial_stack_usage_map, stack_usage_map, + copy_memory (initial_stack_usage_map, stack_usage_map, initial_highest_arg_in_use); if (initial_highest_arg_in_use != highest_outgoing_arg_in_use) - bzero (&stack_usage_map[initial_highest_arg_in_use], + zero_memory (&stack_usage_map[initial_highest_arg_in_use], highest_outgoing_arg_in_use - initial_highest_arg_in_use); needed = 0; @@ -2942,7 +2942,7 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, library functions shouldn't have many args. */ argvec = (struct arg *) alloca ((nargs + 1) * sizeof (struct arg)); - bzero ((char *) argvec, (nargs + 1) * sizeof (struct arg)); + zero_memory ((char *) argvec, (nargs + 1) * sizeof (struct arg)); INIT_CUMULATIVE_ARGS (args_so_far, NULL_TREE, fun, 0); @@ -3116,11 +3116,11 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, stack_usage_map = (char *) alloca (highest_outgoing_arg_in_use); if (initial_highest_arg_in_use) - bcopy (initial_stack_usage_map, stack_usage_map, + copy_memory (initial_stack_usage_map, stack_usage_map, initial_highest_arg_in_use); if (initial_highest_arg_in_use != highest_outgoing_arg_in_use) - bzero (&stack_usage_map[initial_highest_arg_in_use], + zero_memory (&stack_usage_map[initial_highest_arg_in_use], highest_outgoing_arg_in_use - initial_highest_arg_in_use); needed = 0; |