Mercurial > hg > CbC > old > device
comparison mc-code-powerpc.c @ 845:a97cd8b97434
minor fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 06 Dec 2010 16:23:42 +0900 |
parents | 11d784da0c7b |
children | 5313ed059cee |
comparison
equal
deleted
inserted
replaced
844:11d784da0c7b | 845:a97cd8b97434 |
---|---|
2765 get_input_dregister_var(freg_arg,0,0,1),t,t), | 2765 get_input_dregister_var(freg_arg,0,0,1),t,t), |
2766 arg_assign); | 2766 arg_assign); |
2767 } | 2767 } |
2768 #endif | 2768 #endif |
2769 reg_arg_list = list2(arg,reg_arg_list); | 2769 reg_arg_list = list2(arg,reg_arg_list); |
2770 if (car(arg)==DREGISTER) | 2770 if (car(arg)==DREGISTER) { |
2771 use_input_reg(cadr(arg),1); /* protect from input register free */ | 2771 set_freg(cadr(arg),0); |
2772 g_expr_u(assign_expr0(arg,e4,t,t)); /* XXX */ | 2772 g_expr_u(assign_expr0(arg,e4,t,t)); |
2773 use_input_reg(cadr(arg),1); | |
2774 } else | |
2775 g_expr_u(assign_expr0(arg,e4,t,t)); | |
2773 } | 2776 } |
2774 // structs are finished | 2777 // structs are finished |
2775 } | 2778 } |
2776 if (max_func_args<nargs) max_func_args=nargs; | 2779 if (max_func_args<nargs) max_func_args=nargs; |
2777 for(;arg_assign;arg_assign=cadr(arg_assign)) { | 2780 for(;arg_assign;arg_assign=cadr(arg_assign)) { |