Mercurial > hg > CbC > CbC_gcc
comparison gcc/function.c @ 82:895e19fe9c22
modify calls.c
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 11 Nov 2011 02:35:16 +0900 |
parents | 1b10fe6932e1 |
children | 6fb1a677d0b5 |
comparison
equal
deleted
inserted
replaced
80:d8bf5c8fdea8 | 82:895e19fe9c22 |
---|---|
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 | |
73 | |
68 /* So we can assign to cfun in this file. */ | 74 /* So we can assign to cfun in this file. */ |
69 #undef cfun | 75 #undef cfun |
70 | 76 |
71 #ifndef STACK_ALIGNMENT_NEEDED | 77 #ifndef STACK_ALIGNMENT_NEEDED |
72 #define STACK_ALIGNMENT_NEEDED 1 | 78 #define STACK_ALIGNMENT_NEEDED 1 |
3479 | 3485 |
3480 SET_DECL_RTL (result, x); | 3486 SET_DECL_RTL (result, x); |
3481 } | 3487 } |
3482 | 3488 |
3483 #ifndef noCbC | 3489 #ifndef noCbC |
3484 //if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) ) | 3490 if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) ) |
3485 //all.stack_args_size.constant = CbC_STACK_SIZE; | 3491 all.stack_args_size.constant = CbC_STACK_SIZE; |
3486 #endif | 3492 #endif |
3487 | 3493 |
3488 /* We have aligned all the args, so add space for the pretend args. */ | 3494 /* We have aligned all the args, so add space for the pretend args. */ |
3489 crtl->args.pretend_args_size = all.pretend_args_size; | 3495 crtl->args.pretend_args_size = all.pretend_args_size; |
3490 all.stack_args_size.constant += all.extra_pretend_bytes; | 3496 all.stack_args_size.constant += all.extra_pretend_bytes; |