comparison gcc/function.c @ 83:6fb1a677d0b5

modify expand_call
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Fri, 11 Nov 2011 04:29:33 +0900
parents 895e19fe9c22
children ab0bcb71f44d
comparison
equal deleted inserted replaced
82:895e19fe9c22 83:6fb1a677d0b5
63 #include "predict.h" 63 #include "predict.h"
64 #include "df.h" 64 #include "df.h"
65 #include "timevar.h" 65 #include "timevar.h"
66 #include "vecprim.h" 66 #include "vecprim.h"
67 67
68 #ifndef noCbC
69 #include "cbc-tree.h"
70 #define CbC_STACK_SIZE (1024 * 8)
71 #endif
72 68
73 69
74 /* So we can assign to cfun in this file. */ 70 /* So we can assign to cfun in this file. */
75 #undef cfun 71 #undef cfun
76 72
3485 3481
3486 SET_DECL_RTL (result, x); 3482 SET_DECL_RTL (result, x);
3487 } 3483 }
3488 3484
3489 #ifndef noCbC 3485 #ifndef noCbC
3490 if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) ) 3486 // if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) )
3491 all.stack_args_size.constant = CbC_STACK_SIZE; 3487 // all.stack_args_size.constant = CbC_STACK_SIZE;
3492 #endif 3488 #endif
3493 3489
3494 /* We have aligned all the args, so add space for the pretend args. */ 3490 /* We have aligned all the args, so add space for the pretend args. */
3495 crtl->args.pretend_args_size = all.pretend_args_size; 3491 crtl->args.pretend_args_size = all.pretend_args_size;
3496 all.stack_args_size.constant += all.extra_pretend_bytes; 3492 all.stack_args_size.constant += all.extra_pretend_bytes;