comparison mc-code-powerpc.c @ 794:032dc03be02e

i64 arg_register in inline mode
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 23 Nov 2010 09:42:08 +0900
parents 3bc6c34bfa2e
children a5f9e5a4db1b
comparison
equal deleted inserted replaced
793:aa2db7c70d42 794:032dc03be02e
777 save register contents to our stack 777 save register contents to our stack
778 for & operator 778 for & operator
779 */ 779 */
780 780
781 void 781 void
782 code_arg_register(NMTBL *fnptr) 782 code_arg_register(NMTBL *fnptr, int in)
783 { 783 {
784 int args = fnptr->dsp; 784 int args = fnptr->dsp;
785 NMTBL *n; 785 NMTBL *n;
786 int reg_var = 0; 786 int reg_var = 0;
787 int freg_var = 0; 787 int freg_var = 0;
789 int reg; 789 int reg;
790 int i; 790 int i;
791 int is_code0 = is_code(fnptr); 791 int is_code0 = is_code(fnptr);
792 int dots; 792 int dots;
793 arg_offset_v = 0; 793 arg_offset_v = 0;
794
795 if (in) return;
794 796
795 function_type(fnptr->ty,&dots); 797 function_type(fnptr->ty,&dots);
796 while (args) { 798 while (args) {
797 /* process in reverse order */ 799 /* process in reverse order */
798 n = ncadddr(args); 800 n = ncadddr(args);