Mercurial > hg > CbC > CbC_gcc
comparison gcc/function.c @ 112:ab0bcb71f44d
merge gcc 7
author | mir3636 |
---|---|
date | Fri, 10 Nov 2017 19:46:38 +0900 |
parents | 04ced10e8804 6fb1a677d0b5 |
children | 4c56639505ff |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 112:ab0bcb71f44d |
---|---|
78 #include "tree-dfa.h" | 78 #include "tree-dfa.h" |
79 #include "tree-ssa.h" | 79 #include "tree-ssa.h" |
80 #include "stringpool.h" | 80 #include "stringpool.h" |
81 #include "attribs.h" | 81 #include "attribs.h" |
82 | 82 |
83 | |
84 | |
83 /* So we can assign to cfun in this file. */ | 85 /* So we can assign to cfun in this file. */ |
84 #undef cfun | 86 #undef cfun |
85 | 87 |
86 #ifndef STACK_ALIGNMENT_NEEDED | 88 #ifndef STACK_ALIGNMENT_NEEDED |
87 #define STACK_ALIGNMENT_NEEDED 1 | 89 #define STACK_ALIGNMENT_NEEDED 1 |
3868 | 3870 |
3869 DECL_HAS_VALUE_EXPR_P (result) = 1; | 3871 DECL_HAS_VALUE_EXPR_P (result) = 1; |
3870 | 3872 |
3871 set_parm_rtl (result, x); | 3873 set_parm_rtl (result, x); |
3872 } | 3874 } |
3875 | |
3876 #ifndef noCbC | |
3877 // if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) ) | |
3878 // all.stack_args_size.constant = CbC_STACK_SIZE; | |
3879 #endif | |
3873 | 3880 |
3874 /* We have aligned all the args, so add space for the pretend args. */ | 3881 /* We have aligned all the args, so add space for the pretend args. */ |
3875 crtl->args.pretend_args_size = all.pretend_args_size; | 3882 crtl->args.pretend_args_size = all.pretend_args_size; |
3876 all.stack_args_size.constant += all.extra_pretend_bytes; | 3883 all.stack_args_size.constant += all.extra_pretend_bytes; |
3877 crtl->args.size = all.stack_args_size.constant; | 3884 crtl->args.size = all.stack_args_size.constant; |