comparison mc-code-arm.c @ 655:cddab906095e

struct init in function arg (or other expression).
author kono
date Sun, 14 Jan 2007 20:30:31 +0900
parents 35014112c01d
children e16b34f2b386
comparison
equal deleted inserted replaced
654:fd2dfa1fa627 655:cddab906095e
2196 } 2196 }
2197 2197
2198 2198
2199 #endif 2199 #endif
2200 2200
2201 void 2201 static void
2202 use_reg(int arg) 2202 use_reg(int arg)
2203 { 2203 {
2204 // printf("## use reg %d\n",arg); 2204 // printf("## use reg %d\n",arg);
2205 if (arg<0||arg> REGS_MAX) 2205 if (arg<0||arg> REGS_MAX)
2206 error(-1); 2206 error(-1);
2217 clear_ptr_cache_reg(regv_h(arg)); 2217 clear_ptr_cache_reg(regv_h(arg));
2218 regs[regv_h(arg)]=USING_DREG; 2218 regs[regv_h(arg)]=USING_DREG;
2219 } 2219 }
2220 } 2220 }
2221 2221
2222 void 2222 static void
2223 code_save_input_registers(int dots) 2223 code_save_input_registers(int dots)
2224 { 2224 {
2225 int args; 2225 int args;
2226 NMTBL *n; 2226 NMTBL *n;
2227 int reg; 2227 int reg;
2281 return 1; 2281 return 1;
2282 } 2282 }
2283 return 0; 2283 return 0;
2284 } 2284 }
2285 2285
2286 int 2286 static int
2287 simple_arg(int e3) 2287 simple_arg(int e3)
2288 { 2288 {
2289 return !contains_p(e3,not_simple_p); 2289 return !contains_p(e3,not_simple_p);
2290 } 2290 }
2291 2291