diff 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
line wrap: on
line diff
--- a/mc-code-powerpc.c	Mon Nov 22 14:31:47 2010 +0900
+++ b/mc-code-powerpc.c	Tue Nov 23 09:42:08 2010 +0900
@@ -779,7 +779,7 @@
  */
 
 void
-code_arg_register(NMTBL *fnptr)
+code_arg_register(NMTBL *fnptr, int in)
 {
     int args = fnptr->dsp;
     NMTBL *n;
@@ -792,6 +792,8 @@
     int dots;
     arg_offset_v = 0;
 
+    if (in) return;
+
     function_type(fnptr->ty,&dots);
     while (args) {
         /* process in reverse order */