Mercurial > hg > CbC > CbC_gcc
comparison gcc/function.c @ 1:caeb520cebed
patch for CbC
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 17:43:54 +0900 |
parents | a06113de4d67 |
children | 9de9dad105d4 |
comparison
equal
deleted
inserted
replaced
0:a06113de4d67 | 1:caeb520cebed |
---|---|
3226 set_mem_attributes (x, result, 1); | 3226 set_mem_attributes (x, result, 1); |
3227 } | 3227 } |
3228 SET_DECL_RTL (result, x); | 3228 SET_DECL_RTL (result, x); |
3229 } | 3229 } |
3230 | 3230 |
3231 #ifndef noCbC | |
3232 //if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) ) | |
3233 //all.stack_args_size.constant = CbC_STACK_SIZE; | |
3234 #endif | |
3235 | |
3231 /* We have aligned all the args, so add space for the pretend args. */ | 3236 /* We have aligned all the args, so add space for the pretend args. */ |
3232 crtl->args.pretend_args_size = all.pretend_args_size; | 3237 crtl->args.pretend_args_size = all.pretend_args_size; |
3233 all.stack_args_size.constant += all.extra_pretend_bytes; | 3238 all.stack_args_size.constant += all.extra_pretend_bytes; |
3234 crtl->args.size = all.stack_args_size.constant; | 3239 crtl->args.size = all.stack_args_size.constant; |
3235 | 3240 |